System.register([],(function(e,t){"use strict";return{execute:function(){var e=document.createElement("style");function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}e.textContent='.vkui--vkBase--light,:root{--vkui--theme_name:"vkBase"}.vkui--vkBase--dark,.vkui--vkBase--light,:root{--vkui--theme_name_base:"vkBase";--vkui--size_base_padding_horizontal--regular:16px;--vkui--size_switch_height--regular:14px;--vkui--size_switch_height--compact:12px;--vkui--size_switch_width--regular:34px;--vkui--size_switch_width--compact:32px;--vkui--size_switch_pin--regular:20px;--vkui--size_switch_pin--compact:18px;--vkui--size_panel_header_height--regular:56px}.vkui--vkBase--dark,.vkui--vkBase--light,.vkui--vkCom--dark,.vkui--vkCom--light,.vkui--vkIOS--dark,.vkui--vkIOS--light,:root{--vkui--gradient_black:transparent 0%,rgba(0,0,0,.014) 13%,rgba(0,0,0,.06) 27%,rgba(0,0,0,.316) 68%,rgba(0,0,0,.38) 84%,rgba(0,0,0,.4) 100%;--vkui--gradient_white:hsla(0,0%,100%,0) 0%,hsla(0,0%,100%,.036) 13%,hsla(0,0%,100%,.15) 27%,hsla(0,0%,100%,.79) 68%,hsla(0,0%,100%,.95) 84%,#fff 100%;--vkui--elevation1:0px 0px 2px rgba(0,0,0,.03),0px 2px 2px rgba(0,0,0,.06);--vkui--elevation1_invert_y:0px 0px 2px rgba(0,0,0,.03),0px -2px 2px rgba(0,0,0,.06);--vkui--elevation2:0px 4px 8px rgba(0,0,0,.04),0px 0px 4px rgba(0,0,0,.06);--vkui--elevation3:0px 0px 2px rgba(0,0,0,.08),0px 4px 16px rgba(0,0,0,.08);--vkui--elevation4:0px 0px 8px rgba(0,0,0,.12),0px 16px 16px rgba(0,0,0,.16);--vkui--font_family_fallbacks:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_family_accent:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_family_base:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_weight_accent1:600;--vkui--font_weight_accent2:500;--vkui--font_weight_accent3:400;--vkui--font_weight_base1:600;--vkui--font_weight_base2:500;--vkui--font_weight_base3:400;--vkui--font_display_title1--font_size--regular:23px;--vkui--font_display_title1--line_height--regular:28px;--vkui--font_display_title1--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_display_title1--font_weight--regular:600;--vkui--font_display_title2--font_size--regular:21px;--vkui--font_display_title2--line_height--regular:26px;--vkui--font_display_title2--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_display_title2--font_weight--regular:600;--vkui--font_display_title2--font_size--compact:22px;--vkui--font_display_title2--line_height--compact:24px;--vkui--font_display_title2--font_family--compact:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_display_title2--font_weight--compact:600;--vkui--font_display_title3--font_size--regular:19px;--vkui--font_display_title3--line_height--regular:24px;--vkui--font_display_title3--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_display_title3--font_weight--regular:600;--vkui--font_display_title4--font_size--regular:17px;--vkui--font_display_title4--line_height--regular:24px;--vkui--font_display_title4--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_display_title4--font_weight--regular:600;--vkui--font_title1--font_size--regular:24px;--vkui--font_title1--line_height--regular:28px;--vkui--font_title1--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_title1--font_weight--regular:600;--vkui--font_title2--font_size--regular:20px;--vkui--font_title2--line_height--regular:24px;--vkui--font_title2--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_title2--font_weight--regular:600;--vkui--font_title3--font_size--regular:17px;--vkui--font_title3--line_height--regular:22px;--vkui--font_title3--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_title3--font_weight--regular:600;--vkui--font_headline1--font_size--regular:16px;--vkui--font_headline1--line_height--regular:20px;--vkui--font_headline1--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_headline1--font_weight--regular:500;--vkui--font_headline2--font_size--regular:15px;--vkui--font_headline2--line_height--regular:20px;--vkui--font_headline2--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_headline2--font_weight--regular:500;--vkui--font_headline2--font_size--compact:14px;--vkui--font_headline2--line_height--compact:20px;--vkui--font_text--font_size--regular:16px;--vkui--font_text--line_height--regular:20px;--vkui--font_text--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_text--font_weight--regular:400;--vkui--font_paragraph--font_size--regular:15px;--vkui--font_paragraph--line_height--regular:20px;--vkui--font_paragraph--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_paragraph--font_weight--regular:400;--vkui--font_subhead--font_size--regular:14px;--vkui--font_subhead--line_height--regular:18px;--vkui--font_subhead--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_subhead--font_weight--regular:400;--vkui--font_footnote--font_size--regular:13px;--vkui--font_footnote--line_height--regular:16px;--vkui--font_footnote--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_footnote--font_weight--regular:400;--vkui--font_footnote_caps--font_size--regular:13px;--vkui--font_footnote_caps--line_height--regular:16px;--vkui--font_footnote_caps--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_footnote_caps--font_weight--regular:400;--vkui--font_footnote_caps--text_transform--regular:uppercase;--vkui--font_caption1--font_size--regular:12px;--vkui--font_caption1--line_height--regular:14px;--vkui--font_caption1--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption1--font_weight--regular:400;--vkui--font_caption1_caps--font_size--regular:12px;--vkui--font_caption1_caps--line_height--regular:14px;--vkui--font_caption1_caps--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption1_caps--font_weight--regular:600;--vkui--font_caption1_caps--text_transform--regular:uppercase;--vkui--font_caption2--font_size--regular:11px;--vkui--font_caption2--line_height--regular:14px;--vkui--font_caption2--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption2--font_weight--regular:400;--vkui--font_caption2_caps--font_size--regular:11px;--vkui--font_caption2_caps--line_height--regular:14px;--vkui--font_caption2_caps--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption2_caps--font_weight--regular:600;--vkui--font_caption2_caps--text_transform--regular:uppercase;--vkui--font_caption3--font_size--regular:9px;--vkui--font_caption3--line_height--regular:12px;--vkui--font_caption3--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption3--font_weight--regular:400;--vkui--font_caption3_caps--font_size--regular:9px;--vkui--font_caption3_caps--line_height--regular:12px;--vkui--font_caption3_caps--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_caption3_caps--font_weight--regular:600;--vkui--font_caption3_caps--text_transform--regular:uppercase;--vkui--size_select_icon_padding--regular:6px;--vkui--size_select_icon_padding--compact:7px;--vkui--size_popup_base_padding--regular:32px;--vkui--size_popup_base_padding--compact:20px;--vkui--size_popup_header_padding--regular:24px;--vkui--size_popup_header_padding--compact:16px;--vkui--size_label_horizontal_margin--regular:16px;--vkui--size_border_radius_rounded--regular:48px;--vkui--size_check_border_radius--regular:4px;--vkui--size_border_radius_paper--regular:12px;--vkui--size_border_radius_promo--regular:20px;--vkui--size_field_height--regular:44px;--vkui--size_field_height--compact:36px;--vkui--size_search_height--regular:36px;--vkui--size_search_height--compact:32px;--vkui--size_button_large_height--regular:44px;--vkui--size_button_large_height--compact:36px;--vkui--size_button_medium_height--regular:36px;--vkui--size_button_medium_height--compact:32px;--vkui--size_button_small_height--regular:30px;--vkui--size_button_small_height--compact:28px;--vkui--size_checkbox--regular:16px;--vkui--size_arrow--regular:8px;--vkui--size_arrow_promo--regular:40px;--vkui--size_popup_medium--regular:680px;--vkui--size_popup_large--regular:880px;--vkui--size_field_horizontal_padding--regular:12px;--vkui--size_button_padding_horizontal--regular:12px;--vkui--size_arrow_padding--regular:12px;--vkui--size_tooltip_margin--regular:8px;--vkui--size_icon_u_i--regular:16px;--vkui--size_avatar_x_s--regular:24px;--vkui--size_avatar_s--regular:32px;--vkui--size_avatar_m--regular:48px;--vkui--size_avatar_l--regular:96px;--vkui--size_avatar_x_l--regular:128px;--vkui--size_badge_x_s--regular:12px;--vkui--size_badge_s--regular:16px;--vkui--size_badge_m--regular:24px;--vkui--size_badge_l--regular:44px;--vkui--size_badge_x_l--regular:56px;--vkui--size_cardgrid_padding--regular:8px;--vkui--size_cardgrid_padding_vertical--regular:8px;--vkui--size_base_padding_vertical--regular:12px;--vkui--size_button_group_gap_space--regular:1px;--vkui--size_button_group_gap_small--regular:8px;--vkui--size_button_group_gap_medium--regular:12px;--vkui--size_option_hierarchy--regular:32px;--vkui--size_button_base_small_padding_horizontal--regular:16px;--vkui--size_button_base_medium_padding_horizontal--regular:16px;--vkui--size_button_base_large_padding_horizontal--regular:20px;--vkui--size_button_base_small_padding_horizontal_icon--regular:12px;--vkui--size_button_base_medium_padding_horizontal_icon--regular:12px;--vkui--size_button_base_large_padding_horizontal_icon--regular:16px;--vkui--size_button_tertiary_small_padding_horizontal--regular:12px;--vkui--size_button_tertiary_medium_padding_horizontal--regular:12px;--vkui--size_button_tertiary_large_padding_horizontal--regular:16px;--vkui--size_button_tertiary_small_padding_horizontal_icon--regular:8px;--vkui--size_button_tertiary_medium_padding_horizontal_icon--regular:8px;--vkui--size_button_tertiary_large_padding_horizontal_icon--regular:12px;--vkui--size_button_minimum_width--regular:80px;--vkui--size_split_col_padding_horizontal--regular:16px;--vkui--size_subnavigation_bar_gap--regular:8px;--vkui--size_subnavigation_bar_padding_vertical--regular:12px;--vkui--size_border1x--regular:1px;--vkui--size_border2x--regular:.5px;--vkui--size_border3x--regular:.33px;--vkui--spacing_size_xs:4px;--vkui--spacing_size_s:6px;--vkui--spacing_size_m:8px;--vkui--spacing_size_l:10px;--vkui--spacing_size_xl:12px;--vkui--animation_duration_l:.4s;--vkui--animation_duration_m:.2s;--vkui--animation_duration_s:.1s;--vkui--animation_easing_default:cubic-bezier(.3,.3,.5,1);--vkui--opacity_disable:.4;--vkui--opacity_disable_accessibility:.64;--vkui--z_index_modal:99;--vkui--z_index_popout:100;--vkui--font_headline--font_size--regular:16px;--vkui--font_headline--line_height--regular:20px;--vkui--font_headline--font_family--regular:-apple-system,system-ui,"Helvetica Neue",Roboto,sans-serif;--vkui--font_headline--font_weight--regular:500;--vkui--color_background_accent_tint:#5a9eff;--vkui--color_background_contrast_secondary_alpha--hover:hsla(0,0%,100%,.24);--vkui--color_background_contrast_secondary_alpha--active:hsla(0,0%,100%,.28);--vkui--color_text_link_tint:#71aaeb;--vkui--color_text_link_visited:#4986cc;--vkui--color_icon_contrast_secondary:#f2f3f5;--vkui--color_accent_orange_fire:#f05c44;--vkui--color_accent_secondary:#3f8ae0;--vkui--color_overlay_primary:rgba(0,0,0,.4);--vkui--color_overlay_primary--hover:rgba(0,0,0,.44);--vkui--color_overlay_primary--active:rgba(0,0,0,.48);--vkui--color_avatar_overlay:rgba(0,0,0,.6);--vkui--color_avatar_overlay--hover:rgba(0,0,0,.64);--vkui--color_avatar_overlay--active:rgba(0,0,0,.68);--vkui--color_avatar_overlay_inverse_alpha:hsla(0,0%,100%,.85);--vkui--color_avatar_overlay_inverse_alpha--hover:hsla(0,0%,100%,.89);--vkui--color_avatar_overlay_inverse_alpha--active:hsla(0,0%,100%,.93);--vkui--color_transparent:transparent}.vkui--vkBase--light,.vkui--vkCom--light,.vkui--vkIOS--light,:root{--vkui--gradient_tint:hsla(0,0%,98%,0) 0%,hsla(0,0%,98%,.036) 13%,hsla(0,0%,98%,.15) 27%,hsla(0,0%,98%,.79) 68%,hsla(0,0%,98%,.95) 84%,#f9f9f9 100%;--vkui--gradient:hsla(0,0%,100%,0) 0%,hsla(0,0%,100%,.036) 13%,hsla(0,0%,100%,.15) 27%,hsla(0,0%,100%,.79) 68%,hsla(0,0%,100%,.95) 84%,#fff 100%;--vkui--colors_scheme:light;--vkui--color_background_accent_tint--hover:#5698f7;--vkui--color_background_accent_tint--active:#5393ef;--vkui--color_background_content--hover:#f5f5f7;--vkui--color_background_content--active:#ebecef;--vkui--color_background_tertiary_alpha:rgba(0,0,0,.03);--vkui--color_background_tertiary_alpha--hover:rgba(0,0,0,.07);--vkui--color_background_tertiary_alpha--active:rgba(0,0,0,.11);--vkui--color_background_contrast--hover:#f5f5f7;--vkui--color_background_contrast--active:#ebecef;--vkui--color_background_contrast_secondary_alpha:hsla(0,0%,100%,.2);--vkui--color_background_contrast_themed:#fff;--vkui--color_background_contrast_themed--hover:#f5f5f7;--vkui--color_background_contrast_themed--active:#ebecef;--vkui--color_background_modal--hover:#f5f5f7;--vkui--color_background_modal--active:#ebecef;--vkui--color_background_modal_inverse--hover:#2b2c2f;--vkui--color_background_modal_inverse--active:#292b2f;--vkui--color_background_warning:#fff2d6;--vkui--color_background_warning--hover:#f5e9d0;--vkui--color_background_warning--active:#ebe0ca;--vkui--color_background_positive--hover:#48ac4a;--vkui--color_background_positive--active:#45a64a;--vkui--color_background_negative--hover:#dd4446;--vkui--color_background_negative--active:#d44245;--vkui--color_background_negative_tint--hover:#f0e2e4;--vkui--color_background_negative_tint--active:#e6d9dd;--vkui--color_background_positive_tint--hover:#dff0e1;--vkui--color_background_positive_tint--active:#d5e6da;--vkui--color_header_background--hover:#f5f5f7;--vkui--color_header_background--active:#ebecef;--vkui--color_text_primary:#000;--vkui--color_text_primary--hover:#000102;--vkui--color_text_primary--active:#000105;--vkui--color_text_secondary--hover:#7c8795;--vkui--color_text_secondary--active:#778292;--vkui--color_text_tertiary--hover:#939ca9;--vkui--color_text_tertiary--active:#8d96a4;--vkui--color_text_contrast--hover:#f5f5f7;--vkui--color_text_contrast--active:#ebecef;--vkui--color_text_contrast_themed--hover:#f5f5f7;--vkui--color_text_contrast_themed--active:#ebecef;--vkui--color_text_positive--hover:#48ac4a;--vkui--color_text_positive--active:#45a64a;--vkui--color_text_negative--hover:#dd4446;--vkui--color_text_negative--active:#d44245;--vkui--color_text_link_tint--hover:#6ca4e4;--vkui--color_text_link_tint--active:#689edd;--vkui--color_text_link_visited--hover:#4681c6;--vkui--color_text_link_visited--active:#437dc1;--vkui--color_link_contrast--hover:#f5f5f7;--vkui--color_link_contrast--active:#ebecef;--vkui--color_icon_primary:#2c2d2e;--vkui--color_icon_primary--hover:#2a2c2f;--vkui--color_icon_primary--active:#282b2f;--vkui--color_icon_medium_alpha:rgba(0,0,0,.48);--vkui--color_icon_medium_alpha--hover:rgba(0,0,0,.52);--vkui--color_icon_medium_alpha--active:rgba(0,0,0,.56);--vkui--color_icon_secondary--hover:#939ca9;--vkui--color_icon_secondary--active:#8d96a4;--vkui--color_icon_secondary_alpha:rgba(0,0,0,.36);--vkui--color_icon_secondary_alpha--hover:rgba(0,0,0,.4);--vkui--color_icon_secondary_alpha--active:rgba(0,0,0,.44);--vkui--color_icon_tertiary_alpha:rgba(0,0,0,.24);--vkui--color_icon_tertiary_alpha--hover:rgba(0,0,0,.28);--vkui--color_icon_tertiary_alpha--active:rgba(0,0,0,.32);--vkui--color_icon_contrast--hover:#f5f5f7;--vkui--color_icon_contrast--active:#ebecef;--vkui--color_icon_contrast_themed--hover:#f5f5f7;--vkui--color_icon_contrast_themed--active:#ebecef;--vkui--color_icon_contrast_secondary--hover:#e8eaee;--vkui--color_icon_contrast_secondary--active:#dfe1e6;--vkui--color_icon_positive--hover:#48ac4a;--vkui--color_icon_positive--active:#45a64a;--vkui--color_icon_negative--hover:#dd4446;--vkui--color_icon_negative--active:#d44245;--vkui--color_separator_primary2x--hover:#c3c4c7;--vkui--color_separator_primary2x--active:#bbbdc1;--vkui--color_separator_primary3x--hover:#b6b8bc;--vkui--color_separator_primary3x--active:#afb1b6;--vkui--color_separator_primary_alpha:rgba(0,0,0,.12);--vkui--color_separator_primary_alpha--hover:rgba(0,0,0,.16);--vkui--color_separator_primary_alpha--active:rgba(0,0,0,.2);--vkui--color_stroke_positive--hover:#48ac4a;--vkui--color_stroke_positive--active:#45a64a;--vkui--color_stroke_negative--hover:#dd4446;--vkui--color_stroke_negative--active:#d44245;--vkui--color_stroke_contrast:#fff;--vkui--color_stroke_contrast--hover:#f5f5f7;--vkui--color_stroke_contrast--active:#ebecef;--vkui--color_image_border_alpha:rgba(0,0,0,.08);--vkui--color_image_border_alpha--hover:rgba(0,0,0,.12);--vkui--color_image_border_alpha--active:rgba(0,0,0,.16);--vkui--color_field_border_alpha:rgba(0,0,0,.12);--vkui--color_field_border_alpha--hover:rgba(0,0,0,.24);--vkui--color_field_border_alpha--active:rgba(0,0,0,.36);--vkui--color_accent_red--hover:#f53247;--vkui--color_accent_red--active:#eb3046;--vkui--color_accent_green--hover:#48ac4a;--vkui--color_accent_green--active:#45a64a;--vkui--color_accent_orange--hover:#f59a02;--vkui--color_accent_orange--active:#eb9405;--vkui--color_accent_orange_peach:#f9b54f;--vkui--color_accent_orange_peach--hover:#efae4e;--vkui--color_accent_orange_peach--active:#e5a84e;--vkui--color_accent_orange_fire--hover:#e65944;--vkui--color_accent_orange_fire--active:#dd5643;--vkui--color_accent_purple--hover:#6e59df;--vkui--color_accent_purple--active:#6a56d8;--vkui--color_accent_violet--hover:#742dbb;--vkui--color_accent_violet--active:#6f2cb6;--vkui--color_accent_raspberry_pink:#e03fab;--vkui--color_accent_raspberry_pink--hover:#d73da7;--vkui--color_accent_raspberry_pink--active:#ce3ba2;--vkui--color_accent_secondary--hover:#3c85d9;--vkui--color_accent_secondary--active:#3a80d3;--vkui--color_overlay_secondary:rgba(44,45,46,.5);--vkui--color_overlay_secondary--hover:rgba(44,45,46,.54);--vkui--color_overlay_secondary--active:rgba(44,45,46,.58);--vkui--color_action_sheet_text:#3f8ae0;--vkui--color_action_sheet_text--hover:#3c85d9;--vkui--color_action_sheet_text--active:#3a80d3;--vkui--color_image_placeholder:#f2f3f5;--vkui--color_image_placeholder--hover:#e8eaee;--vkui--color_image_placeholder--active:#dfe1e6;--vkui--color_image_placeholder_alpha:rgba(0,28,61,.08);--vkui--color_image_placeholder_alpha--hover:rgba(0,28,61,.12);--vkui--color_image_placeholder_alpha--active:rgba(0,28,61,.16);--vkui--color_write_bar_input_border_alpha:rgba(0,0,0,.08);--vkui--color_write_bar_input_border_alpha--hover:rgba(0,0,0,.12);--vkui--color_write_bar_input_border_alpha--active:rgba(0,0,0,.16);--vkui--color_segmented_control:#fff;--vkui--color_segmented_control--hover:#f5f5f7;--vkui--color_segmented_control--active:#ebecef;--vkui--color_tabbar_text_inactive:#99a2ad;--vkui--color_tabbar_text_inactive--hover:#939ca9;--vkui--color_tabbar_text_inactive--active:#8d96a4;--vkui--color_transparent--hover:rgba(0,16,61,.04);--vkui--color_transparent--active:rgba(0,16,61,.08)}.vkui--vkBase--dark,.vkui--vkBase--light,.vkui--vkIOS--dark,.vkui--vkIOS--light,:root{--vkui--font_headline1--font_size--compact:15px;--vkui--font_headline1--line_height--compact:20px;--vkui--font_text--font_size--compact:15px;--vkui--font_text--line_height--compact:20px;--vkui--font_subhead--font_size--compact:13px;--vkui--font_subhead--line_height--compact:16px;--vkui--size_popup_small--regular:430px;--vkui--size_form_item_padding_vertical--regular:12px;--vkui--font_headline--font_size--compact:15px;--vkui--font_headline--line_height--compact:20px;--vkui--color_background_contrast_inverse:#2c2d2e;--vkui--color_background_positive:#4bb34b;--vkui--color_text_primary_invariably:#000;--vkui--color_text_positive:#4bb34b;--vkui--color_icon_primary_invariably:#2c2d2e;--vkui--color_icon_positive:#4bb34b;--vkui--color_stroke_positive:#4bb34b;--vkui--color_accent_gray:#a3adb8;--vkui--color_accent_red:#ff3347;--vkui--color_accent_green:#4bb34b;--vkui--color_accent_orange:#ffa000}.vkui--vkBase--dark,.vkui--vkBase--light,.vkui--vkCom--dark,.vkui--vkCom--light,:root{--vkui--size_border_radius--regular:8px;--vkui--size_card_border_radius--regular:8px;--vkui--size_panel_header_height--compact:48px;--vkui--animation_easing_platform:cubic-bezier(.4,0,.2,1)}.vkui--vkBase--light,.vkui--vkIOS--light,:root{--vkui--color_background_accent:#2688eb;--vkui--color_background_accent--hover:#2483e4;--vkui--color_background_accent--active:#237edd;--vkui--color_background_accent_themed:#2688eb;--vkui--color_background_accent_themed--hover:#2483e4;--vkui--color_background_accent_themed--active:#237edd;--vkui--color_background_accent_alternative:#2688eb;--vkui--color_background_accent_alternative--hover:#2483e4;--vkui--color_background_accent_alternative--active:#237edd;--vkui--color_background:#ebedf0;--vkui--color_background--hover:#e2e4e9;--vkui--color_background--active:#d8dbe2;--vkui--color_background_content:#fff;--vkui--color_background_secondary:#f5f5f5;--vkui--color_background_secondary--hover:#ebecee;--vkui--color_background_secondary--active:#e1e3e6;--vkui--color_background_secondary_alpha:rgba(0,0,0,.04);--vkui--color_background_secondary_alpha--hover:rgba(0,0,0,.08);--vkui--color_background_secondary_alpha--active:rgba(0,0,0,.12);--vkui--color_background_tertiary:#f9f9f9;--vkui--color_background_tertiary--hover:#eff0f1;--vkui--color_background_tertiary--active:#e5e6ea;--vkui--color_background_contrast:#fff;--vkui--color_background_contrast_inverse--hover:#2a2c2f;--vkui--color_background_contrast_inverse--active:#282b2f;--vkui--color_background_modal:#fff;--vkui--color_background_modal_inverse:#2d2d2e;--vkui--color_background_negative:#e64646;--vkui--color_background_negative_tint:#faebeb;--vkui--color_background_positive_tint:#e8f9e8;--vkui--color_field_background:#f2f3f5;--vkui--color_field_background--hover:#e8eaee;--vkui--color_field_background--active:#dfe1e6;--vkui--color_header_background:#fff;--vkui--color_text_accent:#2688eb;--vkui--color_text_accent--hover:#2483e4;--vkui--color_text_accent--active:#237edd;--vkui--color_text_accent_themed:#2688eb;--vkui--color_text_accent_themed--hover:#2483e4;--vkui--color_text_accent_themed--active:#237edd;--vkui--color_text_primary_invariably--hover:#000102;--vkui--color_text_primary_invariably--active:#000105;--vkui--color_text_secondary:#818c99;--vkui--color_text_subhead:#6d7885;--vkui--color_text_subhead--hover:#697482;--vkui--color_text_subhead--active:#64707f;--vkui--color_text_tertiary:#99a2ad;--vkui--color_text_contrast:#fff;--vkui--color_text_contrast_themed:#fff;--vkui--color_text_negative:#e64646;--vkui--color_text_link:#2d81e0;--vkui--color_text_link--hover:#2b7cd9;--vkui--color_text_link--active:#2978d3;--vkui--color_text_link_themed:#2d81e0;--vkui--color_text_link_themed--hover:#2b7cd9;--vkui--color_text_link_themed--active:#2978d3;--vkui--color_text_muted:#2c2d2e;--vkui--color_text_muted--hover:#2a2c2f;--vkui--color_text_muted--active:#282b2f;--vkui--color_link_contrast:#fff;--vkui--color_icon_accent:#2688eb;--vkui--color_icon_accent--hover:#2483e4;--vkui--color_icon_accent--active:#237edd;--vkui--color_icon_accent_themed:#2688eb;--vkui--color_icon_accent_themed--hover:#2483e4;--vkui--color_icon_accent_themed--active:#237edd;--vkui--color_icon_primary_invariably--hover:#2a2c2f;--vkui--color_icon_primary_invariably--active:#282b2f;--vkui--color_icon_medium:#818c99;--vkui--color_icon_medium--hover:#7c8795;--vkui--color_icon_medium--active:#778292;--vkui--color_icon_secondary:#99a2ad;--vkui--color_icon_tertiary:#b8c1cc;--vkui--color_icon_tertiary--hover:#b1bac6;--vkui--color_icon_tertiary--active:#a9b3c1;--vkui--color_icon_contrast:#fff;--vkui--color_icon_contrast_themed:#fff;--vkui--color_icon_negative:#e64646;--vkui--color_stroke_accent:#2688eb;--vkui--color_stroke_accent--hover:#2483e4;--vkui--color_stroke_accent--active:#237edd;--vkui--color_stroke_accent_themed:#2688eb;--vkui--color_stroke_accent_themed--hover:#2483e4;--vkui--color_stroke_accent_themed--active:#237edd;--vkui--color_separator_primary:#d7d8d9;--vkui--color_separator_primary--hover:#ced0d3;--vkui--color_separator_primary--active:#c6c8cd;--vkui--color_separator_primary2x:#cbcccd;--vkui--color_separator_primary3x:#bebfc1;--vkui--color_separator_secondary:#e1e3e6;--vkui--color_separator_secondary--hover:#d8dbdf;--vkui--color_separator_secondary--active:#cfd2d8;--vkui--color_stroke_negative:#e64646;--vkui--color_accent_blue:#2688eb;--vkui--color_accent_blue--hover:#2483e4;--vkui--color_accent_blue--active:#237edd;--vkui--color_accent_gray--hover:#9ca7b3;--vkui--color_accent_gray--active:#96a0ae;--vkui--color_accent_purple:#735ce6;--vkui--color_accent_violet:#792ec0;--vkui--color_skeleton_from:#f5f5f5;--vkui--color_skeleton_from--hover:#ebecee;--vkui--color_skeleton_from--active:#e1e3e6;--vkui--color_skeleton_to:#e1e3e6;--vkui--color_skeleton_to--hover:#d8dbdf;--vkui--color_skeleton_to--active:#cfd2d8;--vkui--color_button_text:#2688eb;--vkui--color_button_text--hover:#2483e4;--vkui--color_button_text--active:#237edd;--vkui--color_button_icon:#2688eb;--vkui--color_button_icon--hover:#2483e4;--vkui--color_button_icon--active:#237edd;--vkui--color_button_stroke:#2688eb;--vkui--color_button_stroke--hover:#2483e4;--vkui--color_button_stroke--active:#237edd;--vkui--color_write_bar_icon:#3f8ae0;--vkui--color_write_bar_icon--hover:#3c85d9;--vkui--color_write_bar_icon--active:#3a80d3;--vkui--color_write_bar_input_background:#f2f3f5;--vkui--color_write_bar_input_background--hover:#e8eaee;--vkui--color_write_bar_input_background--active:#dfe1e6;--vkui--color_write_bar_input_border:#e1e3e6;--vkui--color_write_bar_input_border--hover:#d8dbdf;--vkui--color_write_bar_input_border--active:#cfd2d8;--vkui--color_track_background:#e1e3e6;--vkui--color_track_background--hover:#d8dbdf;--vkui--color_track_background--active:#cfd2d8;--vkui--color_track_buffer:#a0bfe4;--vkui--color_track_buffer--hover:#9ab8dd;--vkui--color_track_buffer--active:#93b1d7;--vkui--color_search_field_background:#ebedf0;--vkui--color_search_field_background--hover:#e2e4e9;--vkui--color_search_field_background--active:#d8dbe2;--vkui--color_panel_header_icon:#2688eb;--vkui--color_panel_header_icon--hover:#2483e4;--vkui--color_panel_header_icon--active:#237edd}.vkui--vkBase--dark{--vkui--theme_name:"vkBaseDark"}.vkui--vkBase--dark,.vkui--vkCom--dark,.vkui--vkIOS--dark{--vkui--gradient_tint:rgba(32,32,33,0) 0%,rgba(32,32,33,.036) 13%,rgba(32,32,33,.15) 27%,rgba(32,32,33,.79) 68%,rgba(32,32,33,.95) 84%,#202021 100%;--vkui--gradient:rgba(25,25,26,0) 0%,rgba(25,25,26,.036) 13%,rgba(25,25,26,.15) 27%,rgba(25,25,26,.79) 68%,rgba(25,25,26,.95) 84%,#19191a 100%;--vkui--colors_scheme:dark;--vkui--color_background_accent_tint--hover:#61a2ff;--vkui--color_background_accent_tint--active:#67a6ff;--vkui--color_background_secondary_alpha:hsla(0,0%,100%,.1);--vkui--color_background_secondary_alpha--hover:hsla(0,0%,100%,.12);--vkui--color_background_secondary_alpha--active:hsla(0,0%,100%,.14);--vkui--color_background_tertiary_alpha:hsla(0,0%,100%,.03);--vkui--color_background_tertiary_alpha--hover:hsla(0,0%,100%,.07);--vkui--color_background_tertiary_alpha--active:hsla(0,0%,100%,.11);--vkui--color_background_contrast--hover:#ebedf0;--vkui--color_background_contrast--active:#d7d8db;--vkui--color_background_contrast_secondary_alpha:hsla(0,0%,100%,.2);--vkui--color_background_contrast_themed:#323232;--vkui--color_background_contrast_themed--hover:#3a3a3a;--vkui--color_background_contrast_themed--active:#424242;--vkui--color_background_modal_inverse:#fff;--vkui--color_background_modal_inverse--hover:#ebedf0;--vkui--color_background_modal_inverse--active:#d7d8db;--vkui--color_background_warning:#857250;--vkui--color_background_warning--hover:#8a7857;--vkui--color_background_warning--active:#8f7d5e;--vkui--color_background_positive--hover:#52b652;--vkui--color_background_positive--active:#59b959;--vkui--color_background_negative--hover:#ff6363;--vkui--color_background_negative--active:#ff6969;--vkui--color_background_negative_tint--hover:#593636;--vkui--color_background_negative_tint--active:#603f3f;--vkui--color_text_primary--hover:#e2e4e7;--vkui--color_text_primary--active:#e3e5e8;--vkui--color_text_contrast--hover:#ebedf0;--vkui--color_text_contrast--active:#d7d8db;--vkui--color_text_positive--hover:#52b652;--vkui--color_text_positive--active:#59b959;--vkui--color_text_negative--hover:#ff6363;--vkui--color_text_negative--active:#ff6969;--vkui--color_text_link_tint--hover:#77adec;--vkui--color_text_link_tint--active:#7cb1ed;--vkui--color_text_link_visited--hover:#508bce;--vkui--color_text_link_visited--active:#5890d0;--vkui--color_link_contrast--hover:#ebedf0;--vkui--color_link_contrast--active:#d7d8db;--vkui--color_icon_primary:#e1e3e6;--vkui--color_icon_primary--hover:#e2e4e7;--vkui--color_icon_primary--active:#e3e5e8;--vkui--color_icon_contrast_secondary--hover:#f3f3f5;--vkui--color_icon_contrast_secondary--active:#f3f4f6;--vkui--color_icon_positive--hover:#52b652;--vkui--color_icon_positive--active:#59b959;--vkui--color_icon_negative--hover:#ff6363;--vkui--color_icon_negative--active:#ff6969;--vkui--color_separator_primary:#363738;--vkui--color_separator_primary--hover:#3e3f40;--vkui--color_separator_primary--active:#464748;--vkui--color_separator_primary2x:#444546;--vkui--color_separator_primary2x--hover:#4b4c4d;--vkui--color_separator_primary2x--active:#535455;--vkui--color_separator_primary3x:#505253;--vkui--color_separator_primary3x--hover:#57595a;--vkui--color_separator_primary3x--active:#5e6061;--vkui--color_separator_primary_alpha:hsla(0,0%,100%,.12);--vkui--color_separator_primary_alpha--hover:hsla(0,0%,100%,.16);--vkui--color_separator_primary_alpha--active:hsla(0,0%,100%,.2);--vkui--color_stroke_positive--hover:#52b652;--vkui--color_stroke_positive--active:#59b959;--vkui--color_stroke_negative--hover:#ff6363;--vkui--color_stroke_negative--active:#ff6969;--vkui--color_stroke_contrast:#fff;--vkui--color_stroke_contrast--hover:#ebedf0;--vkui--color_stroke_contrast--active:#d7d8db;--vkui--color_image_border_alpha:hsla(0,0%,100%,.08);--vkui--color_image_border_alpha--hover:hsla(0,0%,100%,.12);--vkui--color_image_border_alpha--active:hsla(0,0%,100%,.16);--vkui--color_field_border_alpha:hsla(0,0%,100%,.12);--vkui--color_field_border_alpha--hover:hsla(0,0%,100%,.16);--vkui--color_field_border_alpha--active:hsla(0,0%,100%,.2);--vkui--color_accent_red--hover:#ff3b4e;--vkui--color_accent_red--active:#ff4356;--vkui--color_accent_green--hover:#52b652;--vkui--color_accent_green--active:#59b959;--vkui--color_accent_orange--hover:#ffa40a;--vkui--color_accent_orange--active:#ffa814;--vkui--color_accent_orange_peach:#ffc062;--vkui--color_accent_orange_peach--hover:#ffc368;--vkui--color_accent_orange_peach--active:#ffc56f;--vkui--color_accent_orange_fire--hover:#f1634b;--vkui--color_accent_orange_fire--active:#f16953;--vkui--color_accent_raspberry_pink:#f060c0;--vkui--color_accent_raspberry_pink--hover:#f166c3;--vkui--color_accent_raspberry_pink--active:#f16dc5;--vkui--color_accent_secondary--hover:#478fe1;--vkui--color_accent_secondary--active:#4e93e2;--vkui--color_overlay_secondary:rgba(55,56,57,.5);--vkui--color_overlay_secondary--hover:rgba(55,56,57,.54);--vkui--color_overlay_secondary--active:rgba(55,56,57,.58);--vkui--color_action_sheet_text:#71aaeb;--vkui--color_action_sheet_text--hover:#77adec;--vkui--color_action_sheet_text--active:#7cb1ed;--vkui--color_image_placeholder:#2a2b2c;--vkui--color_image_placeholder--hover:#333334;--vkui--color_image_placeholder--active:#3b3c3d;--vkui--color_image_placeholder_alpha:rgba(241,247,255,.08);--vkui--color_image_placeholder_alpha--hover:rgba(241,247,255,.12);--vkui--color_image_placeholder_alpha--active:rgba(241,247,255,.16);--vkui--color_write_bar_input_border_alpha:hsla(0,0%,100%,.8);--vkui--color_write_bar_input_border_alpha--hover:hsla(0,0%,100%,.84);--vkui--color_write_bar_input_border_alpha--active:hsla(0,0%,100%,.88);--vkui--color_panel_header_icon--hover:#77adec;--vkui--color_panel_header_icon--active:#7cb1ed;--vkui--color_segmented_control:#626364;--vkui--color_segmented_control--hover:#68696a;--vkui--color_segmented_control--active:#6f6f70;--vkui--color_tabbar_text_inactive:#76787a;--vkui--color_tabbar_text_inactive--hover:#7b7d7f;--vkui--color_tabbar_text_inactive--active:#818385;--vkui--color_transparent--hover:hsla(0,0%,100%,.04);--vkui--color_transparent--active:hsla(0,0%,100%,.08)}.vkui--vkBase--dark,.vkui--vkCom--light,.vkui--vkIOS--light{--vkui--theme_inherits_from:"vkBase"}.vkui--vkBase--dark,.vkui--vkIOS--dark{--vkui--color_background_accent:#529ef4;--vkui--color_background_accent--hover:#59a2f4;--vkui--color_background_accent--active:#60a6f5;--vkui--color_background_accent_themed:#fff;--vkui--color_background_accent_themed--hover:#ebedf0;--vkui--color_background_accent_themed--active:#d7d8db;--vkui--color_background_accent_alternative:#529ef4;--vkui--color_background_accent_alternative--hover:#59a2f4;--vkui--color_background_accent_alternative--active:#60a6f5;--vkui--color_background:#0a0a0a;--vkui--color_background--hover:#141414;--vkui--color_background--active:#1e1e1e;--vkui--color_background_content:#19191a;--vkui--color_background_content--hover:#222223;--vkui--color_background_content--active:#2b2b2c;--vkui--color_background_secondary:#232324;--vkui--color_background_secondary--hover:#2c2c2d;--vkui--color_background_secondary--active:#353536;--vkui--color_background_tertiary:#202021;--vkui--color_background_tertiary--hover:#29292a;--vkui--color_background_tertiary--active:#323233;--vkui--color_background_contrast_inverse--hover:#343536;--vkui--color_background_contrast_inverse--active:#3d3e3f;--vkui--color_background_modal:#2c2d2e;--vkui--color_background_modal--hover:#343536;--vkui--color_background_modal--active:#3d3e3f;--vkui--color_background_negative:#ff5c5c;--vkui--color_background_negative_tint:#522e2e;--vkui--color_background_positive_tint:#b1d6b1;--vkui--color_background_positive_tint--hover:#b4d8b4;--vkui--color_background_positive_tint--active:#b7d9b7;--vkui--color_field_background:#232324;--vkui--color_field_background--hover:#2c2c2d;--vkui--color_field_background--active:#353536;--vkui--color_header_background:#19191a;--vkui--color_header_background--hover:#222223;--vkui--color_header_background--active:#2b2b2c;--vkui--color_text_accent:#529ef4;--vkui--color_text_accent--hover:#59a2f4;--vkui--color_text_accent--active:#60a6f5;--vkui--color_text_accent_themed:#fff;--vkui--color_text_accent_themed--hover:#ebedf0;--vkui--color_text_accent_themed--active:#d7d8db;--vkui--color_text_primary:#e1e3e6;--vkui--color_text_primary_invariably--hover:#0a0a0a;--vkui--color_text_primary_invariably--active:#141414;--vkui--color_text_secondary:#76787a;--vkui--color_text_secondary--hover:#7b7d7f;--vkui--color_text_secondary--active:#818385;--vkui--color_text_subhead:#969a9f;--vkui--color_text_subhead--hover:#9a9ea3;--vkui--color_text_subhead--active:#9ea2a7;--vkui--color_text_tertiary:#5d5f61;--vkui--color_text_tertiary--hover:#636567;--vkui--color_text_tertiary--active:#6a6c6e;--vkui--color_text_contrast_themed:#000;--vkui--color_text_contrast_themed--hover:#0a0a0a;--vkui--color_text_contrast_themed--active:#141414;--vkui--color_text_negative:#ff5c5c;--vkui--color_text_link:#529ef4;--vkui--color_text_link--hover:#59a2f4;--vkui--color_text_link--active:#60a6f5;--vkui--color_text_link_themed:#fff;--vkui--color_text_link_themed--hover:#ebedf0;--vkui--color_text_link_themed--active:#d7d8db;--vkui--color_text_muted:#e1e3e6;--vkui--color_text_muted--hover:#e2e4e7;--vkui--color_text_muted--active:#e3e5e8;--vkui--color_icon_accent:#529ef4;--vkui--color_icon_accent--hover:#59a2f4;--vkui--color_icon_accent--active:#60a6f5;--vkui--color_icon_accent_themed:#fff;--vkui--color_icon_accent_themed--hover:#ebedf0;--vkui--color_icon_accent_themed--active:#d7d8db;--vkui--color_icon_primary_invariably--hover:#343536;--vkui--color_icon_primary_invariably--active:#3d3e3f;--vkui--color_icon_medium:#b0b1b6;--vkui--color_icon_medium--hover:#b3b4b9;--vkui--color_icon_medium--active:#b6b7bc;--vkui--color_icon_medium_alpha:rgba(241,247,255,.66);--vkui--color_icon_medium_alpha--hover:rgba(241,247,255,.7);--vkui--color_icon_medium_alpha--active:rgba(241,247,255,.74);--vkui--color_icon_secondary:#76787a;--vkui--color_icon_secondary--hover:#7b7d7f;--vkui--color_icon_secondary--active:#818385;--vkui--color_icon_secondary_alpha:rgba(0,0,0,.43);--vkui--color_icon_secondary_alpha--hover:rgba(0,0,0,.47);--vkui--color_icon_secondary_alpha--active:rgba(0,0,0,.51);--vkui--color_icon_tertiary:#5d5f61;--vkui--color_icon_tertiary--hover:#636567;--vkui--color_icon_tertiary--active:#6a6c6e;--vkui--color_icon_tertiary_alpha:hsla(0,0%,100%,.3);--vkui--color_icon_tertiary_alpha--hover:hsla(0,0%,100%,.34);--vkui--color_icon_tertiary_alpha--active:hsla(0,0%,100%,.38);--vkui--color_icon_contrast--hover:#ebedf0;--vkui--color_icon_contrast--active:#d7d8db;--vkui--color_icon_contrast_themed:#000;--vkui--color_icon_contrast_themed--hover:#0a0a0a;--vkui--color_icon_contrast_themed--active:#141414;--vkui--color_icon_negative:#ff5c5c;--vkui--color_stroke_accent:#529ef4;--vkui--color_stroke_accent--hover:#59a2f4;--vkui--color_stroke_accent--active:#60a6f5;--vkui--color_stroke_accent_themed:#fff;--vkui--color_stroke_accent_themed--hover:#ebedf0;--vkui--color_stroke_accent_themed--active:#d7d8db;--vkui--color_separator_secondary:#141415;--vkui--color_separator_secondary--hover:#1d1d1e;--vkui--color_separator_secondary--active:#272728;--vkui--color_stroke_negative:#ff5c5c;--vkui--color_accent_blue:#71aaeb;--vkui--color_accent_blue--hover:#77adec;--vkui--color_accent_blue--active:#7cb1ed;--vkui--color_accent_gray--hover:#a7b0bb;--vkui--color_accent_gray--active:#aab4be;--vkui--color_accent_purple:#9985ff;--vkui--color_accent_purple--hover:#9d8aff;--vkui--color_accent_purple--active:#a18fff;--vkui--color_accent_violet:#a94fff;--vkui--color_accent_violet--hover:#ac56ff;--vkui--color_accent_violet--active:#b05dff;--vkui--color_skeleton_from:#232324;--vkui--color_skeleton_from--hover:#2c2c2d;--vkui--color_skeleton_from--active:#353536;--vkui--color_skeleton_to:#2c2d2e;--vkui--color_skeleton_to--hover:#343536;--vkui--color_skeleton_to--active:#3d3e3f;--vkui--color_button_text:#fff;--vkui--color_button_text--hover:#ebedf0;--vkui--color_button_text--active:#d7d8db;--vkui--color_button_icon:#fff;--vkui--color_button_icon--hover:#ebedf0;--vkui--color_button_icon--active:#d7d8db;--vkui--color_button_stroke:#fff;--vkui--color_button_stroke--hover:#ebedf0;--vkui--color_button_stroke--active:#d7d8db;--vkui--color_write_bar_icon:#76787a;--vkui--color_write_bar_icon--hover:#7b7d7f;--vkui--color_write_bar_icon--active:#818385;--vkui--color_write_bar_input_background:#2c2d2e;--vkui--color_write_bar_input_background--hover:#343536;--vkui--color_write_bar_input_background--active:#3d3e3f;--vkui--color_write_bar_input_border:#2c2d2e;--vkui--color_write_bar_input_border--hover:#343536;--vkui--color_write_bar_input_border--active:#3d3e3f;--vkui--color_track_background:#454647;--vkui--color_track_background--hover:#4c4d4e;--vkui--color_track_background--active:#545556;--vkui--color_track_buffer:#405772;--vkui--color_track_buffer--hover:#485e78;--vkui--color_track_buffer--active:#4f647d;--vkui--color_search_field_background:#363738;--vkui--color_search_field_background--hover:#3e3f40;--vkui--color_search_field_background--active:#464748;--vkui--color_panel_header_icon:#71aaeb}.vkui--vkBase--dark,.vkui--vkCom--dark,.vkui--vkCom--light,.vkui--vkIOS--dark{--vkui--color_background_contrast:#fff;--vkui--color_text_contrast:#fff;--vkui--color_link_contrast:#fff}.vkui--vkBase--dark,.vkui--vkCom--light,.vkui--vkIOS--dark{--vkui--color_icon_contrast:#fff}.vkui--vkIOS--light{--vkui--theme_name:"vkIOS"}.vkui--vkIOS--dark,.vkui--vkIOS--light{--vkui--theme_name_base:"vkIOS";--vkui--size_border_radius--regular:10px;--vkui--size_card_border_radius--regular:10px;--vkui--size_switch_height--regular:31px;--vkui--size_switch_height--compact:27px;--vkui--size_switch_width--regular:51px;--vkui--size_switch_width--compact:47px;--vkui--size_switch_pin--regular:27px;--vkui--size_switch_pin--compact:23px;--vkui--size_panel_header_height--compact:52px;--vkui--size_panel_header_height--regular:52px;--vkui--animation_easing_platform:cubic-bezier(.36,.66,.04,1)}.vkui--vkCom--dark,.vkui--vkCom--light,.vkui--vkIOS--dark,.vkui--vkIOS--light{--vkui--size_base_padding_horizontal--regular:12px}.vkui--vkIOS--dark{--vkui--theme_name:"vkIOSDark"}.vkui--vkCom--dark,.vkui--vkIOS--dark{--vkui--theme_inherits_from:"vkBaseDark"}.vkui--vkCom--light{--vkui--theme_name:"vkCom";--vkui--color_background_accent:#447bba;--vkui--color_background_accent--hover:#4177b5;--vkui--color_background_accent--active:#3f72b0;--vkui--color_background_accent_themed:#447bba;--vkui--color_background_accent_themed--hover:#4177b5;--vkui--color_background_accent_themed--active:#3f72b0;--vkui--color_background_accent_alternative:#447bba;--vkui--color_background_accent_alternative--hover:#4177b5;--vkui--color_background_accent_alternative--active:#3f72b0;--vkui--color_background:#edeef0;--vkui--color_background--hover:#e4e5e9;--vkui--color_background--active:#dadce2;--vkui--color_background_content:#fff;--vkui--color_background_secondary:#f0f2f5;--vkui--color_background_secondary--hover:#e6e9ee;--vkui--color_background_secondary--active:#dde0e6;--vkui--color_background_secondary_alpha:rgba(235,242,250,.99);--vkui--color_background_secondary_alpha--hover:rgba(223,234,246,.99);--vkui--color_background_secondary_alpha--active:rgba(213,226,241,.99);--vkui--color_background_tertiary:#fafbfc;--vkui--color_background_tertiary--hover:#f0f2f4;--vkui--color_background_tertiary--active:#e6e8ed;--vkui--color_background_contrast_inverse--hover:#313233;--vkui--color_background_contrast_inverse--active:#2f3034;--vkui--color_background_modal:#fff;--vkui--color_background_modal_inverse:#2d2d2e;--vkui--color_background_negative:#e64646;--vkui--color_background_negative_tint:#faebeb;--vkui--color_background_positive_tint:#e8f9e8;--vkui--color_field_background:#f7f8fa;--vkui--color_field_background--hover:#edeff2;--vkui--color_field_background--active:#e3e5eb;--vkui--color_header_background:#fff;--vkui--color_text_accent:#447bba;--vkui--color_text_accent--hover:#4177b5;--vkui--color_text_accent--active:#3f72b0;--vkui--color_text_accent_themed:#3770b1;--vkui--color_text_accent_themed--hover:#356cac;--vkui--color_text_accent_themed--active:#3368a8;--vkui--color_text_primary_invariably--hover:#313233;--vkui--color_text_primary_invariably--active:#2f3034;--vkui--color_text_secondary:#818c99;--vkui--color_text_subhead:#626d7a;--vkui--color_text_subhead--hover:#5e6978;--vkui--color_text_subhead--active:#5a6675;--vkui--color_text_tertiary:#99a2ad;--vkui--color_text_contrast_themed:#fff;--vkui--color_text_negative:#e64646;--vkui--color_text_link:#2a5885;--vkui--color_text_link--hover:#285582;--vkui--color_text_link--active:#27527f;--vkui--color_text_link_themed:#2a5885;--vkui--color_text_link_themed--hover:#285582;--vkui--color_text_link_themed--active:#27527f;--vkui--color_text_muted:#333;--vkui--color_text_muted--hover:#313233;--vkui--color_text_muted--active:#2f3034;--vkui--color_icon_accent:#447bba;--vkui--color_icon_accent--hover:#4177b5;--vkui--color_icon_accent--active:#3f72b0;--vkui--color_icon_accent_themed:#3770b1;--vkui--color_icon_accent_themed--hover:#356cac;--vkui--color_icon_accent_themed--active:#3368a8;--vkui--color_icon_primary_invariably--hover:#313233;--vkui--color_icon_primary_invariably--active:#2f3034;--vkui--color_icon_medium:#6f7985;--vkui--color_icon_medium--hover:#6b7582;--vkui--color_icon_medium--active:#66717f;--vkui--color_icon_secondary:#99a2ad;--vkui--color_icon_tertiary:#aeb7c2;--vkui--color_icon_tertiary--hover:#a7b0bd;--vkui--color_icon_tertiary--active:#a0aab7;--vkui--color_icon_contrast_themed:#fff;--vkui--color_icon_negative:#e64646;--vkui--color_stroke_accent:#447bba;--vkui--color_stroke_accent--hover:#4177b5;--vkui--color_stroke_accent--active:#3f72b0;--vkui--color_stroke_accent_themed:#3770b1;--vkui--color_stroke_accent_themed--hover:#356cac;--vkui--color_stroke_accent_themed--active:#3368a8;--vkui--color_separator_primary:#dce1e6;--vkui--color_separator_primary--hover:#d3d9df;--vkui--color_separator_primary--active:#cad0d8;--vkui--color_separator_primary2x:#cbcccd;--vkui--color_separator_primary3x:#bebfc1;--vkui--color_separator_secondary:#e7e8ec;--vkui--color_separator_secondary--hover:#dedfe5;--vkui--color_separator_secondary--active:#d5d7de;--vkui--color_stroke_negative:#e64646;--vkui--color_accent_blue:#5181b8;--vkui--color_accent_blue--hover:#4e7cb3;--vkui--color_accent_blue--active:#4b78ae;--vkui--color_accent_gray--hover:#a7b0bd;--vkui--color_accent_gray--active:#a0aab7;--vkui--color_accent_purple:#735ce6;--vkui--color_accent_violet:#792ec0;--vkui--color_skeleton_from:#f0f2f5;--vkui--color_skeleton_from--hover:#e6e9ee;--vkui--color_skeleton_from--active:#dde0e6;--vkui--color_skeleton_to:#e7e8ec;--vkui--color_skeleton_to--hover:#dedfe5;--vkui--color_skeleton_to--active:#d5d7de;--vkui--color_button_text:#346297;--vkui--color_button_text--hover:#325f93;--vkui--color_button_text--active:#305b90;--vkui--color_button_icon:#346297;--vkui--color_button_icon--hover:#325f93;--vkui--color_button_icon--active:#305b90;--vkui--color_button_stroke:#346297;--vkui--color_button_stroke--hover:#325f93;--vkui--color_button_stroke--active:#305b90;--vkui--color_write_bar_icon:#818c99;--vkui--color_write_bar_icon--hover:#7c8795;--vkui--color_write_bar_icon--active:#778292;--vkui--color_write_bar_input_background:#fff;--vkui--color_write_bar_input_background--hover:#f5f5f7;--vkui--color_write_bar_input_background--active:#ebecef;--vkui--color_write_bar_input_border:#d3d9de;--vkui--color_write_bar_input_border--hover:#cbd1d8;--vkui--color_write_bar_input_border--active:#c2c9d1;--vkui--color_track_background:#d3d9de;--vkui--color_track_background--hover:#cbd1d8;--vkui--color_track_background--active:#c2c9d1;--vkui--color_track_buffer:#447bba;--vkui--color_track_buffer--hover:#4177b5;--vkui--color_track_buffer--active:#3f72b0;--vkui--color_search_field_background:#edeef0;--vkui--color_search_field_background--hover:#e4e5e9;--vkui--color_search_field_background--active:#dadce2;--vkui--color_panel_header_icon:#447bba;--vkui--color_panel_header_icon--hover:#4177b5;--vkui--color_panel_header_icon--active:#3f72b0}.vkui--vkCom--dark,.vkui--vkCom--light{--vkui--theme_name_base:"vkCom";--vkui--font_headline1--font_size--compact:14px;--vkui--font_headline1--line_height--compact:18px;--vkui--font_text--font_size--compact:13px;--vkui--font_text--line_height--compact:16px;--vkui--font_subhead--font_size--compact:14px;--vkui--font_subhead--line_height--compact:18px;--vkui--size_popup_small--regular:448px;--vkui--size_switch_height--regular:10px;--vkui--size_switch_height--compact:10px;--vkui--size_switch_width--regular:27px;--vkui--size_switch_width--compact:27px;--vkui--size_switch_pin--regular:16px;--vkui--size_switch_pin--compact:16px;--vkui--size_panel_header_height--regular:48px;--vkui--size_form_item_padding_vertical--regular:8px;--vkui--font_headline--font_size--compact:14px;--vkui--font_headline--line_height--compact:18px;--vkui--color_background_contrast_inverse:#333;--vkui--color_background_positive:#4bb34b;--vkui--color_text_primary_invariably:#333;--vkui--color_text_positive:#4bb34b;--vkui--color_icon_primary_invariably:#333;--vkui--color_icon_positive:#4bb34b;--vkui--color_stroke_positive:#4bb34b;--vkui--color_accent_gray:#aeb7c2;--vkui--color_accent_red:#ff3347;--vkui--color_accent_green:#4bb34b;--vkui--color_accent_orange:#ffa000}.vkui--vkCom--dark{--vkui--theme_name:"vkComDark";--vkui--color_background_accent:#71aaeb;--vkui--color_background_accent--hover:#77adec;--vkui--color_background_accent--active:#7cb1ed;--vkui--color_background_accent_themed:#e1e3e6;--vkui--color_background_accent_themed--hover:#d8dbdf;--vkui--color_background_accent_themed--active:#cfd2d8;--vkui--color_background_accent_alternative:#71aaeb;--vkui--color_background_accent_alternative--hover:#77adec;--vkui--color_background_accent_alternative--active:#7cb1ed;--vkui--color_background:#141414;--vkui--color_background--hover:#1d1d1d;--vkui--color_background--active:#272727;--vkui--color_background_content:#222;--vkui--color_background_content--hover:#2b2b2b;--vkui--color_background_content--active:#343434;--vkui--color_background_secondary:#333;--vkui--color_background_secondary--hover:#3b3b3b;--vkui--color_background_secondary--active:#434343;--vkui--color_background_tertiary:#292929;--vkui--color_background_tertiary--hover:#323232;--vkui--color_background_tertiary--active:#3a3a3a;--vkui--color_background_contrast_inverse--hover:#3b3b3b;--vkui--color_background_contrast_inverse--active:#434343;--vkui--color_background_modal:#292929;--vkui--color_background_modal--hover:#323232;--vkui--color_background_modal--active:#3a3a3a;--vkui--color_background_negative:#ff5c5c;--vkui--color_background_negative_tint:#522e2e;--vkui--color_background_positive_tint:#2f422f;--vkui--color_background_positive_tint--hover:#374a37;--vkui--color_background_positive_tint--active:#405140;--vkui--color_field_background:#292929;--vkui--color_field_background--hover:#323232;--vkui--color_field_background--active:#3a3a3a;--vkui--color_header_background:#222;--vkui--color_header_background--hover:#2b2b2b;--vkui--color_header_background--active:#343434;--vkui--color_text_accent:#71aaeb;--vkui--color_text_accent--hover:#77adec;--vkui--color_text_accent--active:#7cb1ed;--vkui--color_text_accent_themed:#e1e3e6;--vkui--color_text_accent_themed--hover:#e2e4e7;--vkui--color_text_accent_themed--active:#e3e5e8;--vkui--color_text_primary:#e1e3e6;--vkui--color_text_primary_invariably--hover:#3b3b3b;--vkui--color_text_primary_invariably--active:#434343;--vkui--color_text_secondary:#828282;--vkui--color_text_secondary--hover:#878787;--vkui--color_text_secondary--active:#8c8c8c;--vkui--color_text_subhead:#939393;--vkui--color_text_subhead--hover:#979797;--vkui--color_text_subhead--active:#9c9c9c;--vkui--color_text_tertiary:#656565;--vkui--color_text_tertiary--hover:#6b6b6b;--vkui--color_text_tertiary--active:#717171;--vkui--color_text_contrast_themed:#222;--vkui--color_text_contrast_themed--hover:#2b2b2b;--vkui--color_text_contrast_themed--active:#343434;--vkui--color_text_negative:#ff5c5c;--vkui--color_text_link:#71aaeb;--vkui--color_text_link--hover:#77adec;--vkui--color_text_link--active:#7cb1ed;--vkui--color_text_link_themed:#939393;--vkui--color_text_link_themed--hover:#979797;--vkui--color_text_link_themed--active:#9c9c9c;--vkui--color_text_muted:#ccc;--vkui--color_text_muted--hover:#cecece;--vkui--color_text_muted--active:#d0d0d0;--vkui--color_icon_accent:#71aaeb;--vkui--color_icon_accent--hover:#77adec;--vkui--color_icon_accent--active:#7cb1ed;--vkui--color_icon_accent_themed:#e1e3e6;--vkui--color_icon_accent_themed--hover:#e2e4e7;--vkui--color_icon_accent_themed--active:#e3e5e8;--vkui--color_icon_primary_invariably--hover:#3b3b3b;--vkui--color_icon_primary_invariably--active:#434343;--vkui--color_icon_medium:#939393;--vkui--color_icon_medium--hover:#979797;--vkui--color_icon_medium--active:#9c9c9c;--vkui--color_icon_medium_alpha:hsla(0,0%,100%,.48);--vkui--color_icon_medium_alpha--hover:hsla(0,0%,100%,.52);--vkui--color_icon_medium_alpha--active:hsla(0,0%,100%,.56);--vkui--color_icon_secondary:#828282;--vkui--color_icon_secondary--hover:#878787;--vkui--color_icon_secondary--active:#8c8c8c;--vkui--color_icon_secondary_alpha:hsla(0,0%,100%,.4);--vkui--color_icon_secondary_alpha--hover:hsla(0,0%,100%,.44);--vkui--color_icon_secondary_alpha--active:hsla(0,0%,100%,.48);--vkui--color_icon_tertiary:#656565;--vkui--color_icon_tertiary--hover:#6b6b6b;--vkui--color_icon_tertiary--active:#717171;--vkui--color_icon_tertiary_alpha:hsla(0,0%,100%,.24);--vkui--color_icon_tertiary_alpha--hover:hsla(0,0%,100%,.28);--vkui--color_icon_tertiary_alpha--active:hsla(0,0%,100%,.32);--vkui--color_icon_contrast:#e1e3e6;--vkui--color_icon_contrast--hover:#e2e4e7;--vkui--color_icon_contrast--active:#e3e5e8;--vkui--color_icon_contrast_themed:#222;--vkui--color_icon_contrast_themed--hover:#2b2b2b;--vkui--color_icon_contrast_themed--active:#343434;--vkui--color_icon_negative:#ff5c5c;--vkui--color_stroke_accent:#71aaeb;--vkui--color_stroke_accent--hover:#77adec;--vkui--color_stroke_accent--active:#7cb1ed;--vkui--color_stroke_accent_themed:#e1e3e6;--vkui--color_stroke_accent_themed--hover:#e2e4e7;--vkui--color_stroke_accent_themed--active:#e3e5e8;--vkui--color_separator_secondary:#292929;--vkui--color_separator_secondary--hover:#323232;--vkui--color_separator_secondary--active:#3a3a3a;--vkui--color_stroke_negative:#ff5c5c;--vkui--color_accent_blue:#397dcc;--vkui--color_accent_blue--hover:#4182ce;--vkui--color_accent_blue--active:#4987d0;--vkui--color_accent_gray--hover:#b1bac4;--vkui--color_accent_gray--active:#b4bdc7;--vkui--color_accent_purple:#937ff5;--vkui--color_accent_purple--hover:#9784f5;--vkui--color_accent_purple--active:#9c89f6;--vkui--color_accent_violet:#a393f5;--vkui--color_accent_violet--hover:#a797f5;--vkui--color_accent_violet--active:#aa9cf6;--vkui--color_skeleton_from:#292929;--vkui--color_skeleton_from--hover:#323232;--vkui--color_skeleton_from--active:#3a3a3a;--vkui--color_skeleton_to:#333;--vkui--color_skeleton_to--hover:#3b3b3b;--vkui--color_skeleton_to--active:#434343;--vkui--color_button_text:#e1e3e6;--vkui--color_button_text--hover:#e2e4e7;--vkui--color_button_text--active:#e3e5e8;--vkui--color_button_icon:#e1e3e6;--vkui--color_button_icon--hover:#e2e4e7;--vkui--color_button_icon--active:#e3e5e8;--vkui--color_button_stroke:#e1e3e6;--vkui--color_button_stroke--hover:#e2e4e7;--vkui--color_button_stroke--active:#e3e5e8;--vkui--color_write_bar_icon:#e1e3e6;--vkui--color_write_bar_icon--hover:#e2e4e7;--vkui--color_write_bar_icon--active:#e3e5e8;--vkui--color_write_bar_input_background:#424242;--vkui--color_write_bar_input_background--hover:#4a4a4a;--vkui--color_write_bar_input_background--active:#515151;--vkui--color_write_bar_input_border:#555;--vkui--color_write_bar_input_border--hover:#5c5c5c;--vkui--color_write_bar_input_border--active:#636363;--vkui--color_track_background:#828282;--vkui--color_track_background--hover:#878787;--vkui--color_track_background--active:#8c8c8c;--vkui--color_track_buffer:#fff;--vkui--color_track_buffer--hover:#ebedf0;--vkui--color_track_buffer--active:#d7d8db;--vkui--color_search_field_background:#424242;--vkui--color_search_field_background--hover:#4a4a4a;--vkui--color_search_field_background--active:#515151;--vkui--color_panel_header_icon:#71aaeb}:root{--vkui_internal--tabbar_height:48px;--vkui_internal--grid_avatar_image_offset:2px;--vkui_internal--slider_thumb_size:28px;--vkui_internal--side_cell_gap:calc(var(--vkui--size_base_padding_horizontal--regular) - var(--vkui--spacing_size_s));--vkui_internal--panel_header_height:var(--vkui--size_panel_header_height--regular);--vkui_internal--outline_width:2px;--vkui_internal--outline:var(--vkui_internal--outline_width,2px) solid var(--vkui--color_stroke_accent);--vkui_internal--outline-reset:var(--vkui_internal--outline_width) solid transparent;--vkui_internal--popover_safe_zone_padding:8px;--vkui_internal--white:#fff;--vkui_internal--safe_area_inset_top:0px;--vkui_internal--safe_area_inset_right:0px;--vkui_internal--safe_area_inset_bottom:0px;--vkui_internal--safe_area_inset_left:0px;--vkui_internal--duration:.7s;--vkui_internal--z_index_cell_dragging:100;--vkui_internal--z_index_tabs:2;--vkui_internal--z_index_fixed_layout:3;--vkui_internal--z_index_panel_header_context:4;--vkui_internal--z_index_panel_header_fade:5;--vkui_internal--z_index_pull_to_refresh:9;--vkui_internal--z_index_panel_header:10;--vkui_internal--z_index_split_layout_panel_header:11;--vkui_internal--z_index_tappable_state:0;--vkui_internal--z_index_tappable_element:1;--vkui_internal--z_index_banner_background:0;--vkui_internal--z_index_banner_content:1;--vkui_internal--z_index_banner_hover:2;--vkui_internal--z_index_form_field_element:1;--vkui_internal--z_index_form_field_border:2;--vkui_internal--z_index_form_field_status:3;--vkui_internal--z_index_form_field_border_hover:4;--vkui_internal--z_index_form_field_focus:5;--vkui_internal--z_index_form_field_side:6;--vkui_internal--z_index_image_base_img:-1;--vkui_internal--z_index_image_base_overlay:0;--vkui_internal--z_index_image_base_border:1;--vkui_internal--z_index_image_base_badge:2;--vkui_internal--z_index_horizontal_scroll_arrow:1}@supports (padding-top:constant(safe-area-inset-top)){:root{--vkui_internal--safe_area_inset_top:constant(safe-area-inset-top);--vkui_internal--safe_area_inset_right:constant(safe-area-inset-right);--vkui_internal--safe_area_inset_bottom:constant(safe-area-inset-bottom);--vkui_internal--safe_area_inset_left:constant(safe-area-inset-left)}}@supports (padding-top:env(safe-area-inset-top)){:root{--vkui_internal--safe_area_inset_top:env(safe-area-inset-top);--vkui_internal--safe_area_inset_right:env(safe-area-inset-right);--vkui_internal--safe_area_inset_bottom:env(safe-area-inset-bottom);--vkui_internal--safe_area_inset_left:env(safe-area-inset-left)}}@media (min-width:768px){.vkui-sizeX--compact-mq{display:none!important}}@media (max-width:767.9px){.vkui-sizeX--regular-mq{display:none!important}}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkui-sizeY--compact-mq{display:none!important}}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkui-sizeY--regular-mq{display:none!important}}@media (min-width:1024px){.vkui-viewWidth--tabletMinus-mq{display:none!important}}@media (max-width:1023.9px){.vkui-viewWidth--tabletPlus-mq{display:none!important}}.vkui-deviceType--desktop-forced,.vkui-deviceType--mobile-forced{display:none!important}@media (min-width:768px) and (min-height:720px),(min-width:768px) and (pointer:fine){.vkui-deviceType--mobile-mq{display:none!important}}@media (max-width:767.9px),(pointer:coarse) and (max-height:719.9px),(pointer:none) and (max-height:719.9px){.vkui-deviceType--desktop-mq{display:none!important}}:root{--vkui--size_border--regular:var(--vkui--size_border1x--regular)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx){:root{--vkui--size_border--regular:var(--vkui--size_border2x--regular)}}@media (-webkit-min-device-pixel-ratio:3),(min-resolution:3dppx){:root{--vkui--size_border--regular:var(--vkui--size_border3x--regular)}}.vkui-focus-visible{--vkui_internal--outline_width:2px}.vkui-focus-visible :focus,.vkui-focus-visible :focus-visible,.vkui-focus-visible:focus,.vkui-focus-visible:focus-visible{outline:none}.vkui-focus-visible.vkui-focus-visible--mode-outside{--vkui_internal--outline_offset:var(--vkui_internal--outline_width)}.vkui-focus-visible.vkui-focus-visible--mode-inside{--vkui_internal--outline_offset:calc(-1 * var(--vkui_internal--outline_width))}.vkui-focus-visible.vkui-focus-visible--focused.vkui-focus-visible--mode-inside,.vkui-focus-visible.vkui-focus-visible--focused.vkui-focus-visible--mode-outside{outline:var(--vkui_internal--outline);outline-offset:var(--vkui_internal--outline_offset)}@media (prefers-reduced-motion:no-preference){.vkui-focus-visible.vkui-focus-visible--focused.vkui-focus-visible--mode-inside,.vkui-focus-visible.vkui-focus-visible--focused.vkui-focus-visible--mode-outside{animation:vkuianimation-outline-offset .1s ease-in-out .01s forwards;outline-offset:0}.vkui-focus-visible.vkui-focus-visible--focused.vkui-focus-visible--mode-inside{outline-offset:calc(-2 * var(--vkui_internal--outline_width))}}@keyframes vkuianimation-outline-offset{to{outline-offset:var(--vkui_internal--outline_offset)}}@media (prefers-reduced-motion:no-preference){.vkui-anim-fade-in{animation:vkuianim-fade-in .1s ease-in forwards}.vkui-anim-fade-out{animation:vkuianim-fade-out .1s ease-out forwards}}@keyframes vkuianim-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes vkuianim-fade-out{0%{opacity:1}to{opacity:0}}.vkui-anim-transform-origin-top{transform-origin:bottom center}.vkui-anim-transform-origin-top-start{transform-origin:bottom left}.vkui-anim-transform-origin-top-end{transform-origin:bottom right}.vkui-anim-transform-origin-right{transform-origin:left center}.vkui-anim-transform-origin-right-start{transform-origin:left top}.vkui-anim-transform-origin-right-end{transform-origin:left bottom}.vkui-anim-transform-origin-bottom{transform-origin:top center}.vkui-anim-transform-origin-bottom-start{transform-origin:top left}.vkui-anim-transform-origin-bottom-end{transform-origin:top right}.vkui-anim-transform-origin-left{transform-origin:right center}.vkui-anim-transform-origin-left-start{transform-origin:right top}.vkui-anim-transform-origin-left-end{transform-origin:right bottom}.vkuiAppRoot{height:100%}.vkuiAppRoot--pointer-has-not{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiAppRoot--pointer-has-not [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}@media (pointer:coarse),(pointer:none){.vkuiAppRoot--pointer-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiAppRoot--pointer-none [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}}.vkui__root--embedded .vkuiAppRoot{overflow:auto}.vkuiTitle--level-1{font-family:var(--vkui--font_title1--font_family--regular);font-size:var(--vkui--font_title1--font_size--regular);font-weight:var(--vkui--font_title1--font_weight--regular);line-height:var(--vkui--font_title1--line_height--regular)}.vkuiTitle--level-2{font-family:var(--vkui--font_title2--font_family--regular);font-size:var(--vkui--font_title2--font_size--regular);font-weight:var(--vkui--font_title2--font_weight--regular);line-height:var(--vkui--font_title2--line_height--regular)}.vkuiTitle--level-3{font-family:var(--vkui--font_title3--font_family--regular);font-size:var(--vkui--font_title3--font_size--regular);font-weight:var(--vkui--font_title3--font_weight--regular);line-height:var(--vkui--font_title3--line_height--regular)}.vkuiTypography--normalize{display:block;margin:0;padding:0}.vkuiTypography--weight-1.vkuiTypography--weight-1.vkuiTypography--weight-1{font-weight:var(--vkui--font_weight_accent1)}.vkuiTypography--weight-2.vkuiTypography--weight-2.vkuiTypography--weight-2{font-weight:var(--vkui--font_weight_accent2)}.vkuiTypography--weight-3.vkuiTypography--weight-3.vkuiTypography--weight-3{font-weight:var(--vkui--font_weight_accent3)}.vkuiTypography b{font-weight:var(--vkui--font_weight_accent1)}.vkuiHeadline--level-1{font-family:var(--vkui--font_headline1--font_family--regular);font-size:var(--vkui--font_headline1--font_size--regular);font-weight:var(--vkui--font_headline1--font_weight--regular);line-height:var(--vkui--font_headline1--line_height--regular)}.vkuiHeadline--sizeY-compact.vkuiHeadline--level-1{font-size:var(--vkui--font_headline1--font_size--compact);line-height:var(--vkui--font_headline1--line_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiHeadline--sizeY-none.vkuiHeadline--level-1{font-size:var(--vkui--font_headline1--font_size--compact);line-height:var(--vkui--font_headline1--line_height--compact)}}.vkuiHeadline--level-2{font-family:var(--vkui--font_headline2--font_family--regular);font-size:var(--vkui--font_headline2--font_size--regular);font-weight:var(--vkui--font_headline2--font_weight--regular);line-height:var(--vkui--font_headline2--line_height--regular)}.vkuiHeadline--sizeY-compact.vkuiHeadline--level-2{font-size:var(--vkui--font_headline2--font_size--compact);line-height:var(--vkui--font_headline2--line_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiHeadline--sizeY-none.vkuiHeadline--level-2{font-size:var(--vkui--font_headline2--font_size--compact);line-height:var(--vkui--font_headline2--line_height--compact)}}.vkuiText{font-family:var(--vkui--font_text--font_family--regular);font-size:var(--vkui--font_text--font_size--regular);font-weight:var(--vkui--font_text--font_weight--regular);line-height:var(--vkui--font_text--line_height--regular)}.vkuiText--sizeY-compact{font-size:var(--vkui--font_text--font_size--compact);line-height:var(--vkui--font_text--line_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiText--sizeY-none{font-size:var(--vkui--font_text--font_size--compact);line-height:var(--vkui--font_text--line_height--compact)}}.vkuiParagraph{font-family:var(--vkui--font_paragraph--font_family--regular);font-size:var(--vkui--font_paragraph--font_size--regular);font-weight:var(--vkui--font_paragraph--font_weight--regular);line-height:var(--vkui--font_paragraph--line_height--regular)}.vkuiSubhead{font-family:var(--vkui--font_subhead--font_family--regular);font-size:var(--vkui--font_subhead--font_size--regular);font-weight:var(--vkui--font_subhead--font_weight--regular);line-height:var(--vkui--font_subhead--line_height--regular)}.vkuiSubhead--sizeY-compact{font-size:var(--vkui--font_subhead--font_size--compact);line-height:var(--vkui--font_subhead--line_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSubhead--sizeY-none{font-size:var(--vkui--font_subhead--font_size--compact);line-height:var(--vkui--font_subhead--line_height--compact)}}.vkuiFootnote{font-family:var(--vkui--font_footnote--font_family--regular);font-size:var(--vkui--font_footnote--font_size--regular);font-weight:var(--vkui--font_footnote--font_weight--regular);line-height:var(--vkui--font_footnote--line_height--regular)}.vkuiFootnote--caps{font-family:var(--vkui--font_footnote_caps--font_family--regular);font-size:var(--vkui--font_footnote_caps--font_size--regular);font-weight:var(--vkui--font_footnote_caps--font_weight--regular);line-height:var(--vkui--font_footnote_caps--line_height--regular);text-transform:uppercase}.vkuiCaption--caps{text-transform:uppercase}.vkuiCaption--level-1{font-family:var(--vkui--font_caption1--font_family--regular);font-size:var(--vkui--font_caption1--font_size--regular);font-weight:var(--vkui--font_caption1--font_weight--regular);line-height:var(--vkui--font_caption1--line_height--regular)}.vkuiCaption--level-1.vkuiCaption--caps{font-family:var(--vkui--font_caption1_caps--font_family--regular);font-size:var(--vkui--font_caption1_caps--font_size--regular);font-weight:var(--vkui--font_caption1_caps--font_weight--regular);line-height:var(--vkui--font_caption1_caps--line_height--regular)}.vkuiCaption--level-2{font-family:var(--vkui--font_caption2--font_family--regular);font-size:var(--vkui--font_caption2--font_size--regular);font-weight:var(--vkui--font_caption2--font_weight--regular);line-height:var(--vkui--font_caption2--line_height--regular)}.vkuiCaption--level-2.vkuiCaption--caps{font-family:var(--vkui--font_caption2_caps--font_family--regular);font-size:var(--vkui--font_caption2_caps--font_size--regular);font-weight:var(--vkui--font_caption2_caps--font_weight--regular);line-height:var(--vkui--font_caption2_caps--line_height--regular)}.vkuiCaption--level-3{font-family:var(--vkui--font_caption3--font_family--regular);font-size:var(--vkui--font_caption3--font_size--regular);font-weight:var(--vkui--font_caption3--font_weight--regular);line-height:var(--vkui--font_caption3--line_height--regular)}.vkuiCaption--level-3.vkuiCaption--caps{font-family:var(--vkui--font_caption3_caps--font_family--regular);font-size:var(--vkui--font_caption3_caps--font_size--regular);font-weight:var(--vkui--font_caption3_caps--font_weight--regular);line-height:var(--vkui--font_caption3_caps--line_height--regular)}.vkuiTappable{border-radius:var(--vkui--size_border_radius--regular);isolation:isolate;position:relative}.vkuiTappable>*{position:relative;z-index:var(--vkui_internal--z_index_tappable_element)}.vkuiTappable--sizeX-compact{border-radius:0}@media (max-width:767.9px){.vkuiTappable--sizeX-none{border-radius:0}}.vkuiTappable.vkuiTappable--borderRadiusInherit{border-radius:inherit}.vkuiTappable__stateLayer{border-radius:inherit;bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;transition:background-color .15s ease-out;will-change:transform;z-index:var(--vkui_internal--z_index_tappable_state)}.vkuiTappable--hasPointer-false .vkuiTappable__ripple{transition:background-color .15s ease-out .15s}@media (pointer:coarse),(pointer:none){.vkuiTappable--hasPointer-none .vkuiTappable__ripple{transition:background-color .15s ease-out .15s}}.vkuiTappable--hovered-background>.vkuiTappable__stateLayer{background-color:var(--vkui--color_transparent--hover)}.vkuiTappable--activated-background>.vkuiTappable__stateLayer{background-color:var(--vkui--color_transparent--active)}.vkuiTappable--activated-opacity,.vkuiTappable--hovered-opacity{transition:opacity .15s ease-out}.vkuiTappable--hovered-opacity{opacity:.8}.vkuiTappable--activated-opacity{opacity:.7}.vkuiTappable__wave{animation:vkuianimation-wave .3s var(--vkui--animation_easing_platform);background:var(--vkui--color_transparent--active);border-radius:50%;content:"";height:24px;left:0;margin:-12px -12px 0 0;opacity:0;position:absolute;top:0;width:24px}@keyframes vkuianimation-wave{0%{opacity:1;transform:scale(1)}30%{opacity:1}to{opacity:0;transform:scale(8)}}.vkuiClickable__realClickable{cursor:pointer}.vkuiClickable__host:focus,.vkuiClickable__host:focus-visible{outline:none}.vkuiClickable__host[aria-disabled=true],.vkuiClickable__host[disabled]{cursor:not-allowed}.vkuiFixedLayout{box-sizing:border-box;left:auto;padding-left:var(--vkui_internal--safe_area_inset_left);padding-right:var(--vkui_internal--safe_area_inset_right);position:fixed;z-index:var(--vkui_internal--z_index_fixed_layout)}.vkuiFixedLayout--filled{background:var(--vkui--color_background_content)}.vkuiFixedLayout--vertical-top{top:0;width:100%}.vkuiFixedLayout--vertical-bottom{bottom:0;padding-bottom:var(--vkui_internal--safe_area_inset_bottom);width:100%}.vkuiInternalEpic--hasTabbar .vkuiFixedLayout--vertical-bottom{padding-bottom:calc(var(--vkui_internal--tabbar_height) + var(--vkui_internal--safe_area_inset_bottom))}.vkuiInternalPanelHeader~* .vkuiFixedLayout--vertical-top:not(.vkuiInternalPanelHeader__fixed),.vkuiInternalPanelHeader~.vkuiFixedLayout--vertical-top{top:calc(var(--vkui_internal--panel_header_height) + var(--vkui_internal--safe_area_inset_top))}.vkuiImageBase{align-items:center;background-color:var(--vkui--color_background_secondary);background-size:cover;box-sizing:border-box;color:var(--vkui_internal--icon_color,var(--vkui--color_icon_secondary));display:flex;flex-shrink:0;isolation:isolate;justify-content:center;position:relative}.vkuiImageBase--transparent-background{background-color:initial}.vkuiImageBase__border{border:var(--vkui--size_border--regular) solid var(--vkui--color_image_border_alpha);border-radius:inherit;box-sizing:border-box;pointer-events:none;transform-origin:left top;z-index:var(--vkui_internal--z_index_image_base_border)}.vkuiImageBase__border,.vkuiImageBase__img{height:100%;left:0;position:absolute;top:0;width:100%}.vkuiImageBase__img{border:0;border-radius:inherit;display:block;object-fit:cover;visibility:hidden;z-index:var(--vkui_internal--z_index_image_base_img)}.vkuiImageBase--loaded .vkuiImageBase__img{visibility:visible}.vkuiImageBase__fallback{left:auto;position:absolute;top:auto}.vkuiInternalPanelHeader__before .vkuiImageBase{margin-left:8px}.vkuiInternalPanelHeader__after .vkuiImageBase{margin-right:8px}.vkuiImageBaseBadge{border-radius:50%;bottom:0;padding:2px;position:absolute;right:0;transform:translate(2px,2px);z-index:var(--vkui_internal--z_index_image_base_badge)}.vkuiImageBaseBadge--background-stroke{background-color:var(--vkui_internal--background,var(--vkui--color_background_content))}.vkuiImageBaseBadge--background-shadow:before{border-radius:inherit;bottom:2px;box-shadow:var(--vkui--elevation1);content:"";left:2px;margin:auto;pointer-events:none;position:absolute;right:2px;top:2px}.vkuiImageBaseOverlay{align-items:center;border:0;border-radius:inherit;box-shadow:inherit;box-sizing:border-box;display:flex;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease-in-out;width:100%;z-index:var(--vkui_internal--z_index_image_base_overlay)}.vkuiImageBaseOverlay--visible{opacity:1}.vkuiImageBaseOverlay--theme-light{background-color:var(--vkui--color_avatar_overlay_inverse_alpha);color:var(--vkui--color_icon_accent)}.vkuiImageBaseOverlay--theme-dark{background-color:var(--vkui--color_avatar_overlay);color:var(--vkui--color_icon_contrast)}.vkuiSpinner{align-items:center;color:var(--vkui--color_icon_medium);display:flex;height:100%;justify-content:center;width:100%}.vkuiInternalPanelHeader .vkuiSpinner{color:currentColor}.vkuiButton{border:0;border-radius:var(--vkui--size_border_radius--regular);box-sizing:border-box;display:inline-block;margin:0;max-width:100%;min-height:var(--vkui--size_button_small_height--compact);min-width:var(--vkui--size_button_minimum_width--regular);padding:0;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiButton--rounded{border-radius:var(--vkui--size_border_radius_rounded--regular)}.vkuiButton--loading{cursor:progress}.vkuiButton--singleIcon{min-width:auto;width:var(--vkui--size_button_small_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--singleIcon{width:var(--vkui--size_button_small_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--singleIcon{width:var(--vkui--size_button_small_height--regular)}}.vkuiButton--stretched{display:block;flex-basis:0;flex-grow:1;width:100%}.vkuiButton__in{align-items:center;box-sizing:border-box;display:flex;justify-content:center;min-height:inherit;text-align:center;width:100%}.vkuiButton--align-left .vkuiButton__in{justify-content:flex-start;text-align:left}.vkuiButton--align-right .vkuiButton__in{justify-content:flex-end;text-align:right}.vkuiButton[disabled]{opacity:var(--vkui--opacity_disable)}.vkuiButton--mode-outline[disabled]:not(.vkuiButton--appearance-overlay),.vkuiButton--mode-primary[disabled]:not(.vkuiButton--appearance-overlay):not(.vkuiButton--appearance-negative):not(.vkuiButton--appearance-positive),.vkuiButton--mode-secondary[disabled]:not(.vkuiButton--appearance-overlay),.vkuiButton--mode-tertiary[disabled]:not(.vkuiButton--appearance-overlay){opacity:.64}.vkuiButton__content{font-weight:var(--vkui--font_weight_accent2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiButton--size-s .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_base_small_padding_horizontal--regular)}.vkuiButton--size-s .vkuiButton__after,.vkuiButton--size-s .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_base_small_padding_horizontal--regular)}.vkuiButton--size-m .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_base_medium_padding_horizontal--regular)}.vkuiButton--size-m .vkuiButton__after,.vkuiButton--size-m .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_base_medium_padding_horizontal--regular)}.vkuiButton--size-l .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_base_large_padding_horizontal--regular)}.vkuiButton--size-l .vkuiButton__after,.vkuiButton--size-l .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_base_large_padding_horizontal--regular)}.vkuiButton--size-s .vkuiButton__before{padding-left:var(--vkui--size_button_base_small_padding_horizontal_icon--regular)}.vkuiButton--size-m .vkuiButton__before{padding-left:var(--vkui--size_button_base_medium_padding_horizontal_icon--regular)}.vkuiButton--size-l .vkuiButton__before{padding-left:var(--vkui--size_button_base_large_padding_horizontal_icon--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-s .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_tertiary_small_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-s .vkuiButton__after,.vkuiButton--mode-tertiary.vkuiButton--size-s .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_tertiary_small_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-m .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_tertiary_medium_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-m .vkuiButton__after,.vkuiButton--mode-tertiary.vkuiButton--size-m .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_tertiary_medium_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-l .vkuiButton__content:first-child{padding-left:var(--vkui--size_button_tertiary_large_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-l .vkuiButton__after,.vkuiButton--mode-tertiary.vkuiButton--size-l .vkuiButton__content:last-child{padding-right:var(--vkui--size_button_tertiary_large_padding_horizontal--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-s .vkuiButton__before{padding-left:var(--vkui--size_button_tertiary_small_padding_horizontal_icon--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-m .vkuiButton__before{padding-left:var(--vkui--size_button_tertiary_medium_padding_horizontal_icon--regular)}.vkuiButton--mode-tertiary.vkuiButton--size-l .vkuiButton__before{padding-left:var(--vkui--size_button_tertiary_large_padding_horizontal_icon--regular)}.vkuiButton--mode-tertiary.vkuiButton--singleIcon .vkuiButton__after,.vkuiButton--mode-tertiary.vkuiButton--singleIcon .vkuiButton__before,.vkuiButton--singleIcon .vkuiButton__after,.vkuiButton--singleIcon .vkuiButton__before{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}.vkuiButton--mode-link{background:none;min-width:auto}.vkuiButton--mode-link .vkuiButton__after,.vkuiButton--mode-link .vkuiButton__before,.vkuiButton--mode-link .vkuiButton__content:first-child,.vkuiButton--mode-link .vkuiButton__content:last-child,.vkuiButton--stretched .vkuiButton__after:only-child,.vkuiButton--stretched .vkuiButton__before:only-child{padding-left:0;padding-right:0}.vkuiButton__spinner{bottom:0;color:currentColor;left:0;position:absolute;right:0;top:0}.vkuiButton__spinner+.vkuiButton__in{visibility:hidden}.vkuiButton--mode-primary.vkuiButton--appearance-accent{background-color:var(--vkui--color_background_accent_themed)}.vkuiButton--mode-primary.vkuiButton--appearance-accent.vkuiButton--hover{background-color:var(--vkui--color_background_accent_themed--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-accent.vkuiButton--active{background-color:var(--vkui--color_background_accent_themed--active)}.vkuiButton--mode-primary.vkuiButton--appearance-positive{background-color:var(--vkui--color_background_positive)}.vkuiButton--mode-primary.vkuiButton--appearance-positive.vkuiButton--hover{background-color:var(--vkui--color_background_positive--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-positive.vkuiButton--active{background-color:var(--vkui--color_background_positive--active)}.vkuiButton--mode-primary.vkuiButton--appearance-negative{background-color:var(--vkui--color_background_negative)}.vkuiButton--mode-primary.vkuiButton--appearance-negative.vkuiButton--hover{background-color:var(--vkui--color_background_negative--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-negative.vkuiButton--active{background-color:var(--vkui--color_background_negative--active)}.vkuiButton--mode-primary.vkuiButton--appearance-neutral{background-color:var(--vkui--color_background_secondary)}.vkuiButton--mode-primary.vkuiButton--appearance-neutral.vkuiButton--hover{background-color:var(--vkui--color_background_secondary--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-neutral.vkuiButton--active{background-color:var(--vkui--color_background_secondary--active)}.vkuiButton--mode-primary.vkuiButton--appearance-accent-invariable{background-color:var(--vkui--color_background_accent)}.vkuiButton--mode-primary.vkuiButton--appearance-accent-invariable.vkuiButton--hover{background-color:var(--vkui--color_background_accent--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-accent-invariable.vkuiButton--active{background-color:var(--vkui--color_background_accent--active)}.vkuiButton--mode-secondary{background-color:var(--vkui--color_background_secondary_alpha)}.vkuiButton--mode-secondary.vkuiButton--hover{background-color:var(--vkui--color_background_secondary_alpha--hover)}.vkuiButton--mode-secondary.vkuiButton--active{background-color:var(--vkui--color_background_secondary_alpha--active)}.vkuiButton--mode-outline,.vkuiButton--mode-tertiary{background-color:var(--vkui--color_transparent)}.vkuiButton--mode-outline.vkuiButton--hover,.vkuiButton--mode-tertiary.vkuiButton--hover{background-color:var(--vkui--color_transparent--hover)}.vkuiButton--mode-outline.vkuiButton--active,.vkuiButton--mode-tertiary.vkuiButton--active{background-color:var(--vkui--color_transparent--active)}.vkuiButton.vkuiButton--appearance-accent{color:var(--vkui--color_text_accent_themed)}.vkuiButton.vkuiButton--appearance-positive{color:var(--vkui--color_text_positive)}.vkuiButton.vkuiButton--appearance-negative{color:var(--vkui--color_text_negative)}.vkuiButton.vkuiButton--appearance-neutral{color:var(--vkui--color_text_primary)}.vkuiButton.vkuiButton--appearance-accent-invariable{color:var(--vkui--color_text_accent)}.vkuiButton--mode-primary.vkuiButton--appearance-accent{color:var(--vkui--color_text_contrast_themed)}.vkuiButton--mode-primary.vkuiButton--appearance-accent-invariable,.vkuiButton--mode-primary.vkuiButton--appearance-negative,.vkuiButton--mode-primary.vkuiButton--appearance-positive{color:var(--vkui--color_text_contrast)}.vkuiButton--mode-link.vkuiButton--hover{opacity:.8}.vkuiButton--mode-link.vkuiButton--active{opacity:.7}.vkuiButton--mode-outline.vkuiButton--appearance-accent,.vkuiButton--mode-outline.vkuiButton--appearance-accent.vkuiButton--active,.vkuiButton--mode-outline.vkuiButton--appearance-accent.vkuiButton--hover{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_accent_themed)}.vkuiButton--mode-outline.vkuiButton--appearance-positive{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_positive)}.vkuiButton--mode-outline.vkuiButton--appearance-positive.vkuiButton--hover{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_positive--hover)}.vkuiButton--mode-outline.vkuiButton--appearance-positive.vkuiButton--active{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_positive--active)}.vkuiButton--mode-outline.vkuiButton--appearance-negative{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_negative)}.vkuiButton--mode-outline.vkuiButton--appearance-negative.vkuiButton--hover{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_negative--hover)}.vkuiButton--mode-outline.vkuiButton--appearance-negative.vkuiButton--active{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_negative--active)}.vkuiButton--mode-outline.vkuiButton--appearance-neutral{box-shadow:inset 0 0 0 1px var(--vkui--color_field_border_alpha)}.vkuiButton--mode-outline.vkuiButton--appearance-neutral.vkuiButton--hover{background-color:var(--vkui--color_background_secondary--hover);box-shadow:unset}.vkuiButton--mode-outline.vkuiButton--appearance-neutral.vkuiButton--active{background-color:var(--vkui--color_background_secondary--active);box-shadow:unset}.vkuiButton--mode-outline.vkuiButton--appearance-accent-invariable{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_accent)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay{background-color:var(--vkui--color_background_contrast)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay.vkuiButton--hover{background-color:var(--vkui--color_background_contrast--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay.vkuiButton--active{background-color:var(--vkui--color_background_contrast--active)}.vkuiButton--mode-secondary.vkuiButton--appearance-overlay{background-color:var(--vkui--color_background_contrast_secondary_alpha)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay.vkuiButton--hover,.vkuiButton--mode-secondary.vkuiButton--appearance-overlay.vkuiButton--hover,.vkuiButton--mode-tertiary.vkuiButton--appearance-overlay.vkuiButton--hover{background-color:var(--vkui--color_background_contrast_secondary_alpha--hover)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay.vkuiButton--active,.vkuiButton--mode-secondary.vkuiButton--appearance-overlay.vkuiButton--active,.vkuiButton--mode-tertiary.vkuiButton--appearance-overlay.vkuiButton--active{background-color:var(--vkui--color_background_contrast_secondary_alpha--active)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay{color:var(--vkui--color_text_primary_invariably)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay.vkuiButton--hover{color:var(--vkui--color_text_primary_invariably--hover)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay.vkuiButton--active{color:var(--vkui--color_text_primary_invariably--active)}.vkuiButton--mode-link.vkuiButton--appearance-overlay,.vkuiButton--mode-outline.vkuiButton--appearance-overlay,.vkuiButton--mode-secondary.vkuiButton--appearance-overlay,.vkuiButton--mode-tertiary.vkuiButton--appearance-overlay{color:var(--vkui--color_text_contrast)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_contrast)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay.vkuiButton--hover{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_contrast--hover)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay.vkuiButton--active{box-shadow:inset 0 0 0 1px var(--vkui--color_stroke_contrast--active)}.vkuiButton__after:not(:first-child),.vkuiButton__before:not(:last-child)+.vkuiButton__content{margin-left:6px}.vkuiButton--size-l .vkuiButton__after:not(:first-child),.vkuiButton--size-l .vkuiButton__before:not(:last-child)+.vkuiButton__content{margin-left:8px}.vkuiButton--size-s .vkuiButton__content{font-family:var(--vkui--font_subhead--font_family--regular);font-size:var(--vkui--font_subhead--font_size--compact);line-height:var(--vkui--font_subhead--line_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-s .vkuiButton__content{font-family:var(--vkui--font_subhead--font_family--regular);font-size:var(--vkui--font_subhead--font_size--regular);line-height:var(--vkui--font_subhead--line_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-s .vkuiButton__content{font-family:var(--vkui--font_subhead--font_family--regular);font-size:var(--vkui--font_subhead--font_size--regular);line-height:var(--vkui--font_subhead--line_height--regular)}}.vkuiButton--size-m .vkuiButton__content{font-family:var(--vkui--font_headline2--font_family--regular);font-size:var(--vkui--font_headline2--font_size--compact);line-height:var(--vkui--font_headline2--line_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-m .vkuiButton__content{font-family:var(--vkui--font_headline2--font_family--regular);font-size:var(--vkui--font_headline2--font_size--regular);line-height:var(--vkui--font_headline2--line_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-m .vkuiButton__content{font-family:var(--vkui--font_headline2--font_family--regular);font-size:var(--vkui--font_headline2--font_size--regular);line-height:var(--vkui--font_headline2--line_height--regular)}}.vkuiButton--size-l .vkuiButton__content{font-family:var(--vkui--font_headline1--font_family--regular);font-size:var(--vkui--font_headline1--font_size--compact);line-height:var(--vkui--font_headline1--line_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-l .vkuiButton__content{font-family:var(--vkui--font_headline1--font_family--regular);font-size:var(--vkui--font_headline1--font_size--regular);line-height:var(--vkui--font_headline1--line_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-l .vkuiButton__content{font-family:var(--vkui--font_headline1--font_family--regular);font-size:var(--vkui--font_headline1--font_size--regular);line-height:var(--vkui--font_headline1--line_height--regular)}}.vkuiButton--sizeY-regular.vkuiButton--size-l.vkuiButton--ios .vkuiButton__content{font-family:var(--vkui--font_title3--font_family--regular);font-size:var(--vkui--font_title3--font_size--regular);line-height:var(--vkui--font_title3--line_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-l.vkuiButton--ios .vkuiButton__content{font-family:var(--vkui--font_title3--font_family--regular);font-size:var(--vkui--font_title3--font_size--regular);line-height:var(--vkui--font_title3--line_height--regular)}}.vkuiButton--size-m{min-height:var(--vkui--size_button_medium_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-m{min-height:var(--vkui--size_button_medium_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-m{min-height:var(--vkui--size_button_medium_height--regular)}}.vkuiButton--size-m.vkuiButton--singleIcon{width:var(--vkui--size_button_medium_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-m.vkuiButton--singleIcon{width:var(--vkui--size_button_medium_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-m.vkuiButton--singleIcon{width:var(--vkui--size_button_medium_height--regular)}}.vkuiButton--size-l{min-height:var(--vkui--size_button_large_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-l{min-height:var(--vkui--size_button_large_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-l{min-height:var(--vkui--size_button_large_height--regular)}}.vkuiButton--size-l.vkuiButton--singleIcon{width:var(--vkui--size_button_large_height--compact)}.vkuiButton--sizeY-regular.vkuiButton--size-l.vkuiButton--singleIcon{width:var(--vkui--size_button_large_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none.vkuiButton--size-l.vkuiButton--singleIcon{width:var(--vkui--size_button_large_height--regular)}}.vkuiButton--sizeY-regular{min-height:var(--vkui--size_button_small_height--regular)}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiButton--sizeY-none{min-height:var(--vkui--size_button_small_height--regular)}}.vkuiButton--mode-primary.vkuiButton--appearance-accent{--vkui_internal--counter_inherit_background:var(--vkui--color_background_content);--vkui_internal--counter_inherit_color:var(--vkui--color_text_accent_themed)}.vkuiButton--mode-outline.vkuiButton--appearance-accent,.vkuiButton--mode-secondary.vkuiButton--appearance-accent,.vkuiButton--mode-tertiary.vkuiButton--appearance-accent{--vkui_internal--counter_inherit_background:var(--vkui--color_background_accent_themed);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast_themed)}.vkuiButton--mode-primary.vkuiButton--appearance-positive{--vkui_internal--counter_inherit_background:var(--vkui--color_background_contrast);--vkui_internal--counter_inherit_color:var(--vkui--color_text_positive)}.vkuiButton--mode-outline.vkuiButton--appearance-positive,.vkuiButton--mode-secondary.vkuiButton--appearance-positive,.vkuiButton--mode-tertiary.vkuiButton--appearance-positive{--vkui_internal--counter_inherit_background:var(--vkui--color_background_positive);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast)}.vkuiButton--mode-primary.vkuiButton--appearance-negative{--vkui_internal--counter_inherit_background:var(--vkui--color_background_contrast);--vkui_internal--counter_inherit_color:var(--vkui--color_text_negative)}.vkuiButton--mode-outline.vkuiButton--appearance-negative,.vkuiButton--mode-secondary.vkuiButton--appearance-negative,.vkuiButton--mode-tertiary.vkuiButton--appearance-negative{--vkui_internal--counter_inherit_background:var(--vkui--color_background_negative);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast)}.vkuiButton--mode-primary.vkuiButton--appearance-neutral{--vkui_internal--counter_inherit_background:var(--vkui--color_background_contrast);--vkui_internal--counter_inherit_color:var(--vkui--color_text_primary_invariably)}.vkuiButton--mode-outline.vkuiButton--appearance-neutral,.vkuiButton--mode-secondary.vkuiButton--appearance-neutral,.vkuiButton--mode-tertiary.vkuiButton--appearance-neutral{--vkui_internal--counter_inherit_background:var(--vkui--color_background_accent);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast)}.vkuiButton--mode-primary.vkuiButton--appearance-overlay{--vkui_internal--counter_inherit_background:var(--vkui--color_icon_primary_invariably);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast)}.vkuiButton--mode-outline.vkuiButton--appearance-overlay,.vkuiButton--mode-secondary.vkuiButton--appearance-overlay,.vkuiButton--mode-tertiary.vkuiButton--appearance-overlay{--vkui_internal--counter_inherit_background:var(--vkui--color_background_contrast);--vkui_internal--counter_inherit_color:var(--vkui--color_text_primary_invariably)}.vkuiVisuallyHidden{height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important;clip:rect(0,0,0,0)!important;border:0!important;-webkit-clip-path:inset(50%);clip-path:inset(50%);opacity:0;overflow:hidden!important}.vkuiVisuallyHidden--focusable-input{height:100%!important;left:0;top:0;width:100%!important;clip:auto!important;-webkit-clip-path:none!important;clip-path:none!important;pointer-events:none}.vkuiIconButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:9999px;box-shadow:none;color:currentColor;display:block;height:48px;margin:0;padding:0;position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.vkuiIconButton--sizeY-compact{height:44px}.vkuiIconButton[disabled]{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiIconButton--ios{border-radius:var(--vkui--size_border_radius--regular)}.vkuiIconButton .vkuiIcon--16{padding:16px}.vkuiIconButton .vkuiIcon--16.vkuiIcon--w-8{padding:16px 14px}.vkuiIconButton--sizeY-compact .vkuiIcon--16,.vkuiIconButton--sizeY-compact .vkuiIcon--16.vkuiIcon--w-8{padding:14px}.vkuiIconButton .vkuiIcon--24{padding:12px}.vkuiIconButton .vkuiIcon--28,.vkuiIconButton--sizeY-compact .vkuiIcon--24{padding:10px}.vkuiIconButton--sizeY-compact .vkuiIcon--28{padding:8px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiIconButton--sizeY-none{height:44px}.vkuiIconButton--sizeY-none .vkuiIcon--16,.vkuiIconButton--sizeY-none .vkuiIcon--16.vkuiIcon--w-8{padding:14px}.vkuiIconButton--sizeY-none .vkuiIcon--24{padding:10px}.vkuiIconButton--sizeY-none .vkuiIcon--28{padding:8px}}.vkuiInternalFormField__after .vkuiIconButton,.vkuiInternalFormItem--removable .vkuiInternalRemovable__content>.vkuiIconButton,.vkuiInternalFormLayoutGroup--removable .vkuiInternalRemovable__content>.vkuiIconButton{align-content:center;align-items:center;border-radius:var(--vkui--size_border_radius--regular);display:flex;height:var(--vkui--size_field_height--regular);justify-content:center;width:var(--vkui--size_field_height--regular)}.vkuiInternalFormField__after .vkuiIconButton .vkuiIcon.vkuiIcon.vkuiIcon{padding:0}.vkuiInternalFormField__after .vkuiIconButton--sizeY-compact{height:var(--vkui--size_field_height--compact);width:var(--vkui--size_field_height--compact)}.vkuiInternalFormItem--removable .vkuiInternalRemovable__content>.vkuiIconButton--sizeY-compact,.vkuiInternalFormLayoutGroup--removable .vkuiInternalRemovable__content>.vkuiIconButton--sizeY-compact{height:var(--vkui--size_field_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiInternalFormField__after .vkuiIconButton--sizeY-none{height:var(--vkui--size_field_height--compact);width:var(--vkui--size_field_height--compact)}.vkuiInternalFormItem--removable .vkuiInternalRemovable__content>.vkuiIconButton--sizeY-none,.vkuiInternalFormLayoutGroup--removable .vkuiInternalRemovable__content>.vkuiIconButton--sizeY-none{height:var(--vkui--size_field_height--compact)}}.vkuiInternalSimpleCell__after .vkuiIconButton:last-child{margin-right:-12px}.vkuiInternalSimpleCell__after .vkuiIconButton--ios:last-child{margin-right:-9px}.vkuiInternalAlert__dismiss.vkuiIconButton{height:36px;padding:8px}.vkuiRoot{height:100%;position:relative;width:100%}.vkuiRoot--transition{pointer-events:none}.vkuiRoot__view{height:100%;position:relative;width:100%}.vkuiRoot--transition .vkuiRoot__view{left:0;overflow:hidden;position:fixed;top:0}.vkuiRoot__scrollCompensation{height:100%;width:100%}.vkuiRoot__view--show-forward{animation:vkuiroot-android-animation-show-forward .3s var(--vkui--animation_easing_platform)}.vkuiRoot__view--hide-back{animation:vkuiroot-android-animation-hide-back .3s var(--vkui--animation_easing_platform) forwards}.vkuiRoot--ios .vkuiRoot__view--hide-forward:after,.vkuiRoot--ios .vkuiRoot__view--show-back:after{background-color:#000;content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.vkuiRoot--ios .vkuiRoot__view--show-back:after{animation:vkuiroot-ios-animation-show-back .6s var(--vkui--animation_easing_platform) forwards}.vkuiRoot--ios .vkuiRoot__view--hide-forward:after{animation:vkuiroot-ios-animation-hide-forward .6s var(--vkui--animation_easing_platform)}.vkuiRoot--ios .vkuiRoot__view--show-forward{animation:vkuiroot-ios-animation-show-forward .6s var(--vkui--animation_easing_platform)}.vkuiRoot--ios .vkuiRoot__view--hide-back{animation:vkuiroot-ios-animation-hide-back .6s var(--vkui--animation_easing_platform) forwards}@keyframes vkuiroot-ios-animation-show-back{0%{opacity:.3}to{opacity:0}}@keyframes vkuiroot-ios-animation-hide-forward{0%{opacity:0}to{opacity:.3}}@keyframes vkuiroot-ios-animation-hide-back{0%{transform:translateZ(0)}to{transform:translate3d(0,100%,0)}}@keyframes vkuiroot-ios-animation-show-forward{0%{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}@keyframes vkuiroot-android-animation-hide-back{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.05)}}@keyframes vkuiroot-android-animation-show-forward{0%{opacity:0;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.vkuiView{height:100%;position:relative;width:100%;word-wrap:break-word}.vkuiView--animated,.vkuiView--swiping-back{overflow:hidden}.vkuiView--animated .vkuiView__header,.vkuiView--animated .vkuiView__panel,.vkuiView--swiping-back .vkuiView__header,.vkuiView--swiping-back .vkuiView__panel{pointer-events:none}.vkuiView__panel,.vkuiView__panels{height:100%;width:100%}.vkuiView__panel{box-sizing:border-box;isolation:isolate;position:relative}.vkuiView__panel-in{height:100%}.vkuiView--animated .vkuiView__panel,.vkuiView--swiping-back .vkuiView__panel{left:0;overflow:hidden;position:fixed;top:0}.vkuiView__panel-overlay{background-color:#000;display:none;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:var(--vkui_internal--z_index_panel_header_fade)}.vkuiView--ios .vkuiView__panel--swipe-back-prev.vkuiView__panel--swipe-back-success{transform:translate3d(100%,0,0);transition:transform .3s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--swipe-back-next.vkuiView__panel--swipe-back-success,.vkuiView--ios .vkuiView__panel--swipe-back-prev.vkuiView__panel--swipe-back-failed{transform:translateZ(0);transition:transform .3s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--swipe-back-next.vkuiView__panel--swipe-back-failed{transform:translate3d(-50%,0,0);transition:transform .3s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--swipe-back-next .vkuiView__panel-overlay{background-color:rgba(0,0,0,.1)}.vkuiView--ios .vkuiView__panel--swipe-back-next.vkuiView__panel--swipe-back-failed .vkuiView__panel-overlay,.vkuiView--ios .vkuiView__panel--swipe-back-next.vkuiView__panel--swipe-back-success .vkuiView__panel-overlay{transition:opacity .3s var(--vkui--animation_easing_platform)}.vkuiView__panel--next~.vkuiView__panel--prev{animation:vkuianimation-view-prev-back .3s var(--vkui--animation_easing_platform) forwards}.vkuiView__panel--prev~.vkuiView__panel--next{animation:vkuianimation-view-next-forward .3s var(--vkui--animation_easing_platform)}.vkuiView--no-motion .vkuiView__panel{animation:none}@keyframes vkuianimation-view-prev-back{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(80px)}}@keyframes vkuianimation-view-next-forward{0%{opacity:0;transform:translateY(80px)}to{opacity:1;transform:translateY(0)}}.vkuiView--ios .vkuiView__panel--prev{animation:vkuianimation-ios-prev-forward .6s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--next{animation:vkuianimation-ios-next-back .6s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--prev~.vkuiView__panel--next{animation:vkuianimation-ios-next-forward .6s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--next~.vkuiView__panel--prev{animation:vkuianimation-ios-prev-back .6s var(--vkui--animation_easing_platform) forwards}.vkuiView--ios .vkuiView__panel--next .vkuiView__panel-overlay,.vkuiView--ios .vkuiView__panel--prev .vkuiView__panel-overlay{display:block}.vkuiView--ios .vkuiView__panel--prev .vkuiView__panel-overlay{animation:vkuianimation-ios-fade-in .6s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--next .vkuiView__panel-overlay{animation:vkuianimation-ios-fade-out .6s var(--vkui--animation_easing_platform) forwards}.vkuiView--ios .vkuiView__panel--next~.vkuiView__panel--prev .vkuiView__panel-overlay,.vkuiView--ios .vkuiView__panel--prev~.vkuiView__panel--next .vkuiView__panel-overlay{display:none}.vkuiView--ios.vkuiView--no-motion .vkuiView__panel,.vkuiView--ios.vkuiView--no-motion .vkuiView__panel .vkuiInternalPanel__in{animation:none}.vkuiView--ios .vkuiView__panel--active .vkuiView__panel-overlay{display:none}@keyframes vkuianimation-ios-next-forward{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes vkuianimation-ios-next-back{0%{transform:translate3d(-50%,0,0)}to{transform:translateZ(0)}}@keyframes vkuianimation-ios-prev-forward{0%{transform:translateZ(0)}to{transform:translate3d(-50%,0,0)}}@keyframes vkuianimation-ios-prev-back{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes vkuianimation-ios-fade-in{0%{opacity:0}to{opacity:.3}}@keyframes vkuianimation-ios-fade-out{0%{opacity:.3}to{opacity:0}}.vkuiPanel{height:100%;position:relative;width:100%}.vkuiPanel:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.vkuiPanel__in{box-sizing:border-box;display:flex;flex-direction:column;min-height:100%;position:relative;width:100%}.vkuiPanel__centered{align-items:center;box-sizing:border-box;display:flex;flex:1 0;flex-direction:column;justify-content:center}.vkuiPanel__centered .vkuiInternalPanelHeader--static+*{margin-top:var(--vkui_internal--panel_header_height)}.vkuiPanel--sizeX-compact .vkuiPanel__centered .vkuiInternalPanelHeader--sep+*{margin-top:calc(var(--vkui_internal--panel_header_height) + 5px)}@media (max-width:767.9px){.vkuiPanel--sizeX-none .vkuiPanel__centered .vkuiInternalPanelHeader--sep+*{margin-top:calc(var(--vkui_internal--panel_header_height) + 5px)}}.vkuiPanel--sizeX-regular .vkuiPanel__centered .vkuiInternalPanelHeader--sep+*{margin-top:calc(var(--vkui_internal--panel_header_height) + 16px)}@media (min-width:768px){.vkuiPanel--sizeX-none .vkuiPanel__centered .vkuiInternalPanelHeader--sep+*{margin-top:calc(var(--vkui_internal--panel_header_height) + 16px)}}.vkuiInternalView--ios .vkuiPanel__in{padding-bottom:var(--vkui_internal--safe_area_inset_bottom);padding-left:var(--vkui_internal--safe_area_inset_left);padding-right:var(--vkui_internal--safe_area_inset_right);padding-top:0}.vkuiInternalEpic--hasTabbar .vkuiPanel__in{padding-bottom:calc(var(--vkui_internal--safe_area_inset_bottom) + var(--vkui_internal--tabbar_height))}.vkuiPanel__in-before{height:1px;margin-bottom:-1px}.vkuiPanel__in-after{height:1px;margin-top:-1px}.vkuiPanel .vkuiPanel__in,.vkuiPanel:before{background-color:var(--vkui--color_background_content)}.vkuiPanel--layout-card .vkuiPanel__in,.vkuiPanel--layout-card:before{background-color:var(--vkui--color_background)}.vkuiPanel--sizeX-regular .vkuiPanel__in,.vkuiPanel--sizeX-regular:before{background-color:initial}@media (min-width:768px){.vkuiPanel--sizeX-none .vkuiPanel__in,.vkuiPanel--sizeX-none:before{background-color:initial}}.vkuiPanelHeaderButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;box-shadow:none;color:currentColor;display:block;margin:0;padding:0;position:relative}.vkuiPanelHeaderButton[disabled]{opacity:.6}.vkuiPanelHeaderButton--primitive{height:48px;line-height:48px;padding:0 10px}.vkuiPanelHeaderButton--ios{align-items:center;display:flex;font-size:17px;position:relative}.vkuiPanelHeaderButton--ios.vkuiPanelHeaderButton--primitive{height:44px;line-height:44px}.vkuiPanelHeaderButton--ios .vkuiIcon--24{padding:10px}.vkuiPanelHeaderButton--ios .vkuiIcon--28{padding:8px}.vkuiPanelHeaderBack--ios .vkuiIcon--w-20{padding-left:4px}.vkuiPanelHeaderButton--android.vkuiPanelHeaderButton--notPrimitive{border-radius:50%}.vkuiPanelHeaderButton--android .vkuiIcon--24,.vkuiPanelHeaderButton--android .vkuiIcon--28{padding:10px}.vkuiPanelHeaderButton--vkcom{color:var(--vkui--color_text_secondary)}.vkuiPanelHeaderButton--vkcom>:not(.vkuiInternalCounter){opacity:.7;transition:opacity .3s}.vkuiPanelHeaderButton--vkcom.vkuiPanelHeaderButton--active>:not(.vkuiInternalCounter),.vkuiPanelHeaderButton--vkcom.vkuiPanelHeaderButton--hover>:not(.vkuiInternalCounter){opacity:1}.vkuiPanelHeaderButton--vkcom{align-items:center;display:flex;padding:10px}.vkuiPanelHeaderButton--vkcom.vkuiPanelHeaderButton--notPrimitive{border-radius:50%}.vkuiPanelHeaderBack--vkcom.vkuiPanelHeaderBack--has-label{padding-right:11px}@media (min-width:768px){.vkuiPanelHeaderBack--ios.vkuiPanelHeaderBack--has-label:not(.vkuiPanelHeaderBack--sizeX-compact){padding-right:8px}}.vkuiPanelHeaderBack--sizeX-compact.vkuiPanelHeaderBack--ios .vkuiPanelHeaderButton__label{display:none}@media (max-width:767.9px){.vkuiPanelHeaderBack--sizeX-none.vkuiPanelHeaderBack--ios .vkuiPanelHeaderButton__label{display:none}}.vkuiPanelHeader{position:relative}.vkuiPanelHeader--static.vkuiPanelHeader--fixed:before{content:"";display:block}.vkuiPanelHeader:not(.vkuiPanelHeader--static):not(.vkuiPanelHeader--fixed){height:0;z-index:var(--vkui_internal--z_index_panel_header)}.vkuiPanelHeader__fixed{z-index:var(--vkui_internal--z_index_panel_header)}.vkuiPanelHeader__in{align-items:center;background:var(--vkui--color_background_content);display:flex;justify-content:space-between;position:relative;white-space:nowrap}.vkuiPanelHeader--trnsp .vkuiPanelHeader__in{background:transparent}.vkuiPanelHeader--sizeX-regular.vkuiPanelHeader--shadow .vkuiPanelHeader__in{box-shadow:0 0 4px rgba(0,0,0,.08)}@media (min-width:768px){.vkuiPanelHeader--sizeX-none.vkuiPanelHeader--shadow .vkuiPanelHeader__in{box-shadow:0 0 4px rgba(0,0,0,.08)}}.vkuiPanelHeader__before{box-sizing:border-box;color:var(--vkui--color_icon_accent_themed);display:flex;flex-shrink:0}.vkuiPanelHeader__content{overflow:hidden}.vkuiPanelHeader__content>*{display:block;overflow:hidden;text-overflow:ellipsis}.vkuiPanelHeader__content-in{color:var(--vkui--color_text_primary);font-family:var(--vkui--font_family_accent);font-weight:500}.vkuiPanelHeader:before,.vkuiPanelHeader__in{height:var(--vkui_internal--panel_header_height);padding-top:var(--vkui_internal--safe_area_inset_top)}.vkuiPanelHeader__after{align-items:center;box-sizing:border-box;color:var(--vkui--color_icon_accent_themed);display:flex;justify-content:flex-end}.vkuiPanelHeader__after>:not(:last-child){margin-right:4px}.vkuiPanelHeader--ios .vkuiPanelHeader__before{flex-basis:0;flex-grow:1;flex-shrink:0;opacity:1;padding:4px 0 4px 4px;transition:opacity .3s var(--vkui--animation_easing_platform)}.vkuiPanelHeader--ios .vkuiPanelHeader__before .vkuiPanelHeaderButton+.vkuiPanelHeaderButton--primitive{margin-left:-6px;padding-left:0}.vkuiPanelHeader--ios .vkuiPanelHeader__content{opacity:1;text-align:center;transition:opacity .3s var(--vkui--animation_easing_platform)}.vkuiPanelHeader--ios .vkuiPanelHeader__content-in{font-size:21px}.vkuiPanelHeader--ios .vkuiPanelHeader__content>*{padding:0 4px}.vkuiPanelHeader--ios.vkuiPanelHeader--no-before .vkuiPanelHeader__content{padding-left:8px}.vkuiPanelHeader--ios.vkuiPanelHeader--no-after .vkuiPanelHeader__content>*{padding-right:0}.vkuiPanelHeader--ios.vkuiPanelHeader--no-after .vkuiPanelHeader__content{padding-right:8px}.vkuiPanelHeader--ios .vkuiPanelHeader__after{flex-basis:0;flex-grow:1;flex-shrink:0;opacity:1;padding:4px 4px 4px 0;transition:opacity .3s var(--vkui--animation_easing_platform)}.vkuiView--ios .vkuiView__panel--prev .vkuiPanelHeader__after,.vkuiView--ios .vkuiView__panel--prev .vkuiPanelHeader__before,.vkuiView--ios .vkuiView__panel--prev .vkuiPanelHeader__content{opacity:0}.vkuiPanelHeader--android .vkuiPanelHeader__before:not(:empty){margin-right:-8px;padding:4px 0 4px 4px}.vkuiPanelHeader--android .vkuiPanelHeader__content{align-items:center;flex-grow:1;max-width:100%}.vkuiPanelHeader--android .vkuiPanelHeader__content-in{font-size:23px}.vkuiPanelHeader--android .vkuiPanelHeader__content>*{padding:0 12px}.vkuiPanelHeader--sizeY-compact:not(.vkuiPanelHeader--vkcom) .vkuiPanelHeader__content-in{font-size:20px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiPanelHeader--sizeY-none:not(.vkuiPanelHeader--vkcom) .vkuiPanelHeader__content-in{font-size:20px}}.vkuiInternalSplitCol--viewWidth-tabletPlus.vkuiInternalSplitCol--spaced-auto .vkuiPanelHeader--android.vkuiPanelHeader--no-before:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__content{padding-left:0}@media (min-width:768px){.vkuiInternalSplitCol--viewWidth-none.vkuiInternalSplitCol--spaced-auto .vkuiPanelHeader--android.vkuiPanelHeader--no-before:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__content{padding-left:0}}.vkuiPanelHeader--android.vkuiPanelHeader--no-after .vkuiPanelHeader__content>*,.vkuiPanelHeader--vkcom.vkuiPanelHeader--no-after .vkuiPanelHeader__content>*{padding-right:0}.vkuiPanelHeader--android.vkuiPanelHeader--no-after .vkuiPanelHeader__content{padding-right:16px}.vkuiPanelHeader--android.vkuiPanelHeader--no-before .vkuiPanelHeader__content{padding-left:16px}.vkuiInternalSplitCol--viewWidth-tabletPlus.vkuiInternalSplitCol--spaced-auto .vkuiPanelHeader--android.vkuiPanelHeader--no-after:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__content{padding-right:0}@media (min-width:768px){.vkuiInternalSplitCol--viewWidth-none.vkuiInternalSplitCol--spaced-auto .vkuiPanelHeader--android.vkuiPanelHeader--no-after:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__content{padding-right:0}}.vkuiPanelHeader--android .vkuiPanelHeader__after:not(:empty),.vkuiPanelHeader--vkcom .vkuiPanelHeader__after:not(:empty){padding:4px 4px 4px 0}.vkuiPanelHeader--vkcom{position:relative;z-index:var(--vkui_internal--z_index_panel_header)}.vkuiPanelHeader--vkcom.vkuiPanelHeader--sizeX-regular:not(.vkuiInternalModalPageHeader__in):not(.vkuiPanelHeader--sep) .vkuiPanelHeader__in:after{background-color:var(--vkui--color_background_content);bottom:0;content:"";height:var(--vkui--size_border--regular);left:var(--vkui--size_border--regular);position:absolute;right:var(--vkui--size_border--regular)}@media (min-width:768px){.vkuiPanelHeader--vkcom.vkuiPanelHeader--sizeX-none:not(.vkuiInternalModalPageHeader__in):not(.vkuiPanelHeader--sep) .vkuiPanelHeader__in:after{background-color:var(--vkui--color_background_content);bottom:0;content:"";height:var(--vkui--size_border--regular);left:var(--vkui--size_border--regular);position:absolute;right:var(--vkui--size_border--regular)}}.vkuiPanelHeader--vkcom.vkuiPanelHeader--sizeX-regular:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__in{border-bottom:0;border-top-left-radius:var(--vkui--size_border_radius_paper--regular);border-top-right-radius:var(--vkui--size_border_radius_paper--regular);box-shadow:0 0 0 var(--vkui--size_border--regular) var(--vkui--color_field_border_alpha) inset}@media (min-width:768px){.vkuiPanelHeader--vkcom.vkuiPanelHeader--sizeX-none:not(.vkuiInternalModalPageHeader__in) .vkuiPanelHeader__in{border-bottom:0;border-top-left-radius:var(--vkui--size_border_radius_paper--regular);border-top-right-radius:var(--vkui--size_border_radius_paper--regular);box-shadow:0 0 0 var(--vkui--size_border--regular) var(--vkui--color_field_border_alpha) inset}}.vkuiPanelHeader--vkcom .vkuiPanelHeader__content{text-align:center}.vkuiPanelHeader--vkcom .vkuiPanelHeader__before:not(:empty){padding:0 0 0 4px}.vkuiPanelHeader--vkcom .vkuiPanelHeader__after,.vkuiPanelHeader--vkcom .vkuiPanelHeader__before{flex-basis:0;flex-grow:1;flex-shrink:0}.vkuiPanelHeader__separator{margin-top:calc(-1 * var(--vkui--size_border--regular))}.vkuiPanelHeader--no-before .vkuiPanelHeader__content>*{padding-left:0}.vkuiInternalPanel--centered .vkuiPanelHeader{left:0;position:absolute;top:0;width:100%}.vkuiSeparator{color:var(--vkui--color_separator_primary)}.vkuiSeparator__in{background:currentColor;border:0;color:inherit;height:var(--vkui--size_border--regular);margin:0;transform-origin:center top}.vkuiSeparator--padded .vkuiSeparator__in{margin-left:var(--vkui--size_base_padding_horizontal--regular);margin-right:var(--vkui--size_base_padding_horizontal--regular)}.vkuiInternalModalPage--sizeX-regular .vkuiSeparator--padded{padding-left:8px;padding-right:8px}@media (min-width:768px){.vkuiInternalModalPage--sizeX-none .vkuiSeparator--padded{padding-left:8px;padding-right:8px}}.vkuiSpacing{box-sizing:border-box;position:relative}.vkuiPanelHeaderContent{align-items:center;box-sizing:border-box;display:flex;font-family:var(--vkui--font_family_base);height:100%;justify-content:flex-start;line-height:normal;max-width:100%}.vkuiPanelHeaderContent__before{flex-shrink:0;margin-right:12px}.vkuiPanelHeaderContent__in{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100%;justify-content:center;min-width:0}.vkuiPanelHeaderContent__children-in,.vkuiPanelHeaderContent__childrenText,.vkuiPanelHeaderContent__status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiPanelHeaderContent__status{color:var(--vkui--color_text_secondary);margin-top:1px;max-width:100%;order:1}.vkuiPanelHeaderContent__children{align-items:center;display:flex;max-width:100%}.vkuiPanelHeaderContent__children-in{flex-grow:0;min-width:0}.vkuiPanelHeaderContent__aside{align-items:center;color:var(--vkui--color_icon_accent);display:flex;justify-content:flex-start;margin-left:2px}.vkuiPanelHeaderContent__width{width:1000px}.vkuiPanelHeaderContent__in--centered{align-items:center}.vkuiPanelHeaderContent--ios .vkuiPanelHeaderContent__children-in{font-family:var(--vkui--font_family_accent);font-size:21px;font-weight:500;line-height:var(--vkui_internal--panel_header_height)}.vkuiPanelHeaderContent--android .vkuiPanelHeaderContent__children-in{font-family:var(--vkui--font_family_accent);font-size:23px;font-weight:500;line-height:var(--vkui_internal--panel_header_height)}.vkuiInternalPanelHeader--no-before .vkuiPanelHeaderContent--vkcom{padding-left:16px}.vkuiPanelHeaderContent--sizeY-compact:not(.vkuiPanelHeaderContent--vkcom) .vkuiPanelHeaderContent__children-in{font-size:20px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiPanelHeaderContent--sizeY-none:not(.vkuiPanelHeaderContent--vkcom) .vkuiPanelHeaderContent__children-in{font-size:20px}}.vkuiPanelHeaderContext{z-index:var(--vkui_internal--z_index_panel_header_context)}.vkuiPanelHeaderContext--closing,.vkuiPanelHeaderContext--opened{height:100%;width:100%}.vkuiPanelHeaderContext--sizeX-regular.vkuiPanelHeaderContext--closing,.vkuiPanelHeaderContext--sizeX-regular.vkuiPanelHeaderContext--opened{height:auto}@media (min-width:768px){.vkuiPanelHeaderContext--sizeX-none.vkuiPanelHeaderContext--closing,.vkuiPanelHeaderContext--sizeX-none.vkuiPanelHeaderContext--opened{height:auto}}.vkuiPanelHeaderContext__in{box-sizing:border-box;left:0;padding:8px;pointer-events:none;position:absolute;width:100%}.vkuiPanelHeaderContext__fade{background:rgba(0,0,0,.4);display:none;height:100%;left:0;position:absolute;top:0;width:100%}.vkuiPanelHeaderContext--sizeX-compact .vkuiPanelHeaderContext__fade{display:block}@media (max-width:767.9px){.vkuiPanelHeaderContext--sizeX-none .vkuiPanelHeaderContext__fade{display:block}}.vkuiPanelHeaderContext--opened .vkuiPanelHeaderContext__fade{animation:vkuianimation-panelheadercontext-fade-in .2s ease}.vkuiPanelHeaderContext--closing .vkuiPanelHeaderContext__fade{animation:vkuianimation-panelheadercontext-fade-out .2s ease}.vkuiPanelHeaderContext--opened .vkuiPanelHeaderContext__in{animation:vkuianimation-panelheadercontext-translate-in .2s ease;pointer-events:auto}.vkuiPanelHeaderContext--closing .vkuiPanelHeaderContext__in{animation:vkuianimation-panelheadercontext-translate-out .2s ease}.vkuiPanelHeaderContext__content{background:var(--vkui--color_background_content);overflow:hidden}.vkuiPanelHeaderContext--ios .vkuiPanelHeaderContext__in{padding:0}.vkuiPanelHeaderContext--sizeX-regular.vkuiPanelHeaderContext--ios .vkuiPanelHeaderContext__content,.vkuiPanelHeaderContext:not(.vkuiPanelHeaderContext--ios) .vkuiPanelHeaderContext__content{border-radius:12px;padding:8px 0}@media (min-width:768px){.vkuiPanelHeaderContext--sizeX-none.vkuiPanelHeaderContext--ios .vkuiPanelHeaderContext__content{border-radius:12px;padding:8px 0}}.vkuiPanelHeaderContext--sizeX-regular .vkuiPanelHeaderContext__in{padding:12px 8px}.vkuiPanelHeaderContext--sizeX-regular .vkuiPanelHeaderContext__content{border-radius:12px;box-shadow:0 0 4px rgba(0,0,0,.08),0 8px 8px rgba(0,0,0,.16)}@media (min-width:768px){.vkuiPanelHeaderContext--sizeX-none .vkuiPanelHeaderContext__in{padding:12px 8px}.vkuiPanelHeaderContext--sizeX-none .vkuiPanelHeaderContext__content{border-radius:12px;box-shadow:0 0 4px rgba(0,0,0,.08),0 8px 8px rgba(0,0,0,.16)}}@keyframes vkuianimation-panelheadercontext-translate-in{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes vkuianimation-panelheadercontext-translate-out{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes vkuianimation-panelheadercontext-fade-in{0%{opacity:0}to{opacity:1}}@keyframes vkuianimation-panelheadercontext-fade-out{0%{opacity:1}to{opacity:0}}.vkuiSplitLayout{height:100%;position:relative;width:100%}.vkuiSplitLayout__inner{display:flex;height:100%;width:100%}.vkuiSplitLayout__inner--header{position:relative;z-index:var(--vkui_internal--z_index_split_layout_panel_header)}.vkuiSplitLayout--ios .vkuiSplitLayout__inner--header,.vkuiSplitLayout__inner--header{margin-top:calc(-1 * (var(--vkui_internal--panel_header_height) + var(--vkui_internal--safe_area_inset_top)))}.vkuiPopoutRoot{height:100%;position:relative;width:100%}.vkuiPopoutRoot__popout{z-index:var(--vkui--z_index_popout)}.vkuiPopoutRoot__modal,.vkuiPopoutRoot__popout{height:100%;left:0;position:fixed;top:0;width:100%}.vkuiPopoutRoot__modal{z-index:var(--vkui--z_index_modal)}.vkuiPopoutRoot__modal:empty,.vkuiPopoutRoot__popout:empty{display:none}.vkuiSplitCol{flex-grow:1;flex-shrink:1;height:100%;position:relative;width:1px}.vkuiSplitCol--viewWidth-smallTabletPlus.vkuiSplitCol--spaced-auto{margin-bottom:0;margin-left:var(--vkui--size_split_col_padding_horizontal--regular);margin-right:var(--vkui--size_split_col_padding_horizontal--regular);margin-top:0}@media (min-width:768px){.vkuiSplitCol--viewWidth-none.vkuiSplitCol--spaced-auto{margin-bottom:0;margin-left:var(--vkui--size_split_col_padding_horizontal--regular);margin-right:var(--vkui--size_split_col_padding_horizontal--regular);margin-top:0}}.vkuiSplitCol--viewWidth-tabletMinus.vkuiSplitCol--stretched-on-mobile{max-width:100%!important;width:100%!important}@media (max-width:1023.9px){.vkuiSplitCol--viewWidth-none.vkuiSplitCol--stretched-on-mobile{max-width:100%!important;width:100%!important}}.vkuiSplitCol--fixed{flex-grow:1;flex-shrink:1;height:100%;width:1px}.vkuiSplitCol__fixedInner{height:inherit;max-width:inherit;min-width:inherit;overflow:hidden;position:fixed;top:0;transform:translateZ(0);width:inherit}.vkuiEpic{height:100%;width:100%}.vkuiTabbar{background:var(--vkui--color_background_tertiary);bottom:0;box-sizing:initial;display:flex;height:var(--vkui_internal--tabbar_height);left:0;overflow:hidden;padding-bottom:var(--vkui_internal--safe_area_inset_bottom);position:fixed;width:100%;z-index:var(--vkui_internal--z_index_tabs)}.vkuiTabbar--shadow{box-shadow:var(--vkui--elevation3)}.vkuiTabbar--ios.vkuiTabbar--shadow{box-shadow:none}.vkuiTabbar--ios.vkuiTabbar--shadow:before{background:var(--vkui--color_separator_primary_alpha);content:"";height:var(--vkui--size_border--regular);left:0;position:absolute;width:100%}.vkuiTabbarItem{align-items:center;background:transparent;border:0;color:var(--vkui--color_tabbar_text_inactive);display:flex;height:var(--vkui_internal--tabbar_height);justify-content:center;outline:var(--vkui_internal--outline-reset);padding:0;position:relative;text-decoration:none}.vkuiInternalTabbar .vkuiTabbarItem{flex-basis:0;flex-grow:1;flex-shrink:0;max-width:100%;min-width:0}.vkuiTabbarItem--selected{color:var(--vkui--color_text_accent_themed)}.vkuiTabbarItem__tappable{position:absolute}.vkuiTabbarItem__in{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;overflow:hidden;padding:4px 2px 2px;pointer-events:none;width:100%}.vkuiInternalTabbar--layout-vertical .vkuiTabbarItem__in{flex-direction:column}.vkuiInternalTabbar--layout-horizontal .vkuiTabbarItem__in{flex-direction:row}.vkuiTabbarItem__icon{color:var(--vkui--color_icon_secondary);position:relative}.vkuiTabbarItem--selected .vkuiTabbarItem__icon{color:var(--vkui--color_icon_accent_themed)}.vkuiTabbarItem__text{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiInternalTabbar--layout-vertical .vkuiTabbarItem__text{--vkui--font_footnote--font_size--regular:10px;--vkui--font_footnote--line_height--regular:12px;margin-top:2px}.vkuiInternalTabbar--layout-horizontal .vkuiTabbarItem__text{margin-left:8px}.vkuiTabbarItem--android .vkuiTabbarItem__tappable{border-radius:50%;padding-bottom:calc(100% + 16px);width:calc(100% + 16px)}.vkuiTabbarItem--android:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.vkuiTabbarItem--android:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.vkuiTabbarItem--ios .vkuiTabbarItem__tappable{height:100%;left:0;top:0;width:100%}.vkuiTabbarItem--ios .vkuiTabbarItem__in{transition:transform .07s var(--vkui--animation_easing_platform)}.vkuiTabbarItem--ios .vkuiTabbarItem__tappable--active+.vkuiTabbarItem__in{transform:scale(.96)}.vkuiScrollArrow{background-color:initial;border:0;cursor:pointer;display:flex;justify-content:center;padding:0;transition:opacity .15s;transition-timing-function:var(--vkui--animation_easing_platform);-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.vkuiScrollArrow--direction-left,.vkuiScrollArrow--direction-right{flex-direction:column;height:100%}.vkuiScrollArrow--direction-down,.vkuiScrollArrow--direction-up{flex-direction:row;width:100%}.vkuiScrollArrow__icon{align-items:center;background-color:var(--vkui--color_background_modal);box-shadow:var(--vkui--elevation3);color:var(--vkui--color_icon_secondary);display:flex;justify-content:center;position:relative}.vkuiScrollArrow--size-m .vkuiScrollArrow__icon{border-radius:14px;height:28px;width:28px}.vkuiScrollArrow--size-l .vkuiScrollArrow__icon{border-radius:24px;height:40px;width:40px}.vkuiScrollArrow--direction-left{left:0;padding-left:var(--vkui--size_base_padding_horizontal--regular,16px)}.vkuiScrollArrow--direction-right{padding-right:var(--vkui--size_base_padding_horizontal--regular,16px);right:0}.vkuiScrollArrow--direction-up{padding-top:var(--vkui--size_base_padding_horizontal--regular,16px);top:0}.vkuiScrollArrow--direction-down{bottom:0;padding-bottom:var(--vkui--size_base_padding_horizontal--regular,16px)}.vkuiScrollArrow--direction-left .vkuiScrollArrow__defaultIcon{transform:rotate(180deg)}.vkuiScrollArrow--direction-up .vkuiScrollArrow__defaultIcon{transform:rotate(-90deg)}.vkuiScrollArrow--direction-down .vkuiScrollArrow__defaultIcon{transform:rotate(90deg)}.vkuiHorizontalScroll{isolation:isolate;overflow-x:hidden;position:relative}.vkuiHorizontalScroll__in{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.vkuiHorizontalScroll__in::-webkit-scrollbar{display:none}.vkuiHorizontalScroll__in-wrapper{transition:transform .2s}.vkuiHorizontalScroll__arrow{opacity:0;position:absolute;top:0;z-index:var(--vkui_internal--z_index_horizontal_scroll_arrow)}.vkuiHorizontalScroll:hover .vkuiHorizontalScroll__arrow{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiHorizontalScroll .vkuiHorizontalScroll__arrow:hover,.vkuiHorizontalScroll--withConstArrows .vkuiHorizontalScroll__arrow,.vkuiHorizontalScroll--withConstArrows:hover .vkuiHorizontalScroll__arrow{opacity:1}.vkuiHorizontalScroll__arrowLeft:hover~.vkuiHorizontalScroll__in .vkuiHorizontalScroll__in-wrapper{transform:translate(8px)}.vkuiHorizontalScroll__arrowRight:hover~.vkuiHorizontalScroll__in .vkuiHorizontalScroll__in-wrapper{transform:translate(-8px)}.vkuiInternalTabs .vkuiHorizontalScroll{min-width:100%}.vkuiInternalTabs .vkuiHorizontalScroll__in-wrapper{align-items:stretch;display:flex}.vkuiInternalTabs--withGaps .vkuiHorizontalScroll__in-wrapper:after,.vkuiInternalTabs--withGaps .vkuiHorizontalScroll__in-wrapper:before{content:"";display:block;flex-shrink:0;height:1px;width:var(--vkui--size_base_padding_horizontal--regular)}.vkuiAspectRatio{--vkui_internal--aspect_ratio:1;max-width:100%;position:relative}.vkuiAspectRatio:before{content:"";display:block;height:0;padding-bottom:calc((1 / var(--vkui_internal--aspect_ratio, 1)) * 100%)}.vkuiAspectRatio>*{left:0;position:absolute;top:0}.vkuiAspectRatio--mode-stretch>*{height:100%;width:100%}.vkuiAspectRatio--mode-stretch>img,.vkuiAspectRatio--mode-stretch>video{object-fit:cover}.vkuiPopoutWrapper{box-sizing:border-box;height:100%;left:0;pointer-events:none;top:0;width:100%}.vkuiPopoutWrapper--opened{pointer-events:auto}.vkuiPopoutWrapper--closing{pointer-events:none}.vkuiPopoutWrapper--fixed{position:fixed}.vkuiPopoutWrapper__overlay{animation:vkuianimation-full-fade-in var(--vkui--animation_duration_m) ease;height:100%;left:0;opacity:1;position:fixed;top:0;width:100%}.vkuiPopoutWrapper--closing .vkuiPopoutWrapper__overlay{opacity:0;transition:opacity var(--vkui--animation_duration_m) var(--vkui--animation_easing_default)}.vkuiPopoutWrapper--masked .vkuiPopoutWrapper__overlay{background:var(--vkui--color_overlay_primary)}.vkuiPopoutWrapper--fixed .vkuiPopoutWrapper__overlay{position:absolute}.vkuiPopoutWrapper__container{box-sizing:border-box;display:flex;height:100%;position:relative;width:100%}.vkuiPopoutWrapper__content{display:flex;justify-content:center;pointer-events:none;position:relative;width:100%}.vkuiPopoutWrapper__content>*{pointer-events:auto}.vkuiPopoutWrapper--alignY-center .vkuiPopoutWrapper__container{align-items:center}.vkuiPopoutWrapper--alignY-bottom .vkuiPopoutWrapper__container{align-items:flex-end}.vkuiPopoutWrapper--alignY-top .vkuiPopoutWrapper__container{align-items:flex-start}.vkuiPopoutWrapper--alignX-center .vkuiPopoutWrapper__container{justify-content:center}.vkuiPopoutWrapper--alignX-left .vkuiPopoutWrapper__container{justify-content:flex-start}.vkuiPopoutWrapper--alignX-right .vkuiPopoutWrapper__container{justify-content:flex-end}@keyframes vkuianimation-full-fade-in{0%{opacity:0}to{opacity:1}}.vkuiAlert{animation:vkuianimation-android-alert-intro .2s var(--vkui--animation_easing_platform);border-radius:var(--vkui--size_border_radius_paper--regular);box-shadow:var(--vkui--elevation4);color:var(--vkui--color_text_primary);margin:auto 24px;max-width:416px;min-width:280px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiAlert--desktop{width:100%}.vkuiAlert--closing{opacity:0;transform:scale(.95);transition:transform .2s var(--vkui--animation_easing_platform),opacity .2s var(--vkui--animation_easing_platform)}.vkuiAlert:before{background-color:var(--vkui--color_background_modal);border-radius:inherit;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.vkuiAlert__content{padding:24px 24px 16px;position:relative}.vkuiAlert__content--withButton{padding-right:52px}.vkuiAlert__action{background:transparent;white-space:nowrap}.vkuiAlert__actions{display:flex;max-width:100%;padding:0 12px 12px;position:relative}.vkuiAlert__header{margin-bottom:8px}.vkuiAlert__text{color:var(--vkui--color_text_secondary)}.vkuiAlert__header,.vkuiAlert__text{word-break:break-word}.vkuiAlert__actions--direction-horizontal{justify-content:flex-end}.vkuiAlert__actions--direction-vertical{align-items:flex-end;flex-direction:column}.vkuiAlert__actions>*{margin:4px}.vkuiAlert__actions--align-left{align-items:flex-start;justify-content:flex-start}.vkuiAlert__actions--align-center{align-items:center;justify-content:center}.vkuiAlert__actions--align-right{align-items:flex-end;justify-content:flex-end}.vkuiAlert--ios{animation:vkuianimation-ios-alert-intro .3s var(--vkui--animation_easing_platform);box-shadow:none;min-width:270px;overflow:hidden;width:270px}.vkuiAlert--ios.vkuiAlert--closing{opacity:0;transform:none;transition:opacity .3s var(--vkui--animation_easing_platform)}.vkuiAlert--ios .vkuiAlert__content{padding:20px 16px;text-align:center}.vkuiAlert--ios .vkuiAlert__header:not(:last-child){margin-bottom:7px}.vkuiAlert--ios .vkuiAlert__text{color:inherit}.vkuiAlert--ios .vkuiAlert__content:after{background:var(--vkui--color_separator_primary_alpha);bottom:0;content:"";height:1px;left:0;position:absolute;right:0;transform-origin:center bottom}.vkuiAlert--ios .vkuiAlert__actions{padding:initial}.vkuiAlert--ios .vkuiAlert__actions--direction-vertical{align-items:normal;flex-direction:column}.vkuiAlert--ios .vkuiAlert__action{border:0;border-radius:0;color:var(--vkui--color_text_accent);display:block;font-family:var(--vkui--font_family_base);font-size:17px;height:44px;line-height:44px;margin:0;overflow:hidden;padding:0 6px;position:relative;text-align:center;text-decoration:none;text-overflow:ellipsis}.vkuiAlert--ios .vkuiAlert__action:after{background:var(--vkui--color_separator_primary_alpha);content:"";position:absolute}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:after{height:100%;right:0;top:0;transform-origin:right center;width:1px}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:last-child:after{content:none}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action{flex-basis:0;flex-grow:1;flex-shrink:1}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:first-child{border-bottom-left-radius:var(--vkui--size_border_radius_paper--regular)}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:last-child{border-bottom-right-radius:var(--vkui--size_border_radius_paper--regular)}.vkuiAlert--ios .vkuiAlert__actions--direction-vertical .vkuiAlert__action:after{bottom:0;height:1px;left:0;transform-origin:center bottom;width:100%}.vkuiAlert--ios .vkuiAlert__actions--direction-vertical .vkuiAlert__action:last-child:after{content:none}.vkuiAlert--ios .vkuiAlert__actions--direction-vertical .vkuiAlert__action:last-child{border-radius:0 0 12px 12px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx){.vkuiAlert--ios .vkuiAlert__actions--direction-vertical .vkuiAlert__action:after,.vkuiAlert--ios .vkuiAlert__content:after{transform:scaleY(.5)}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:after{transform:scaleX(.5)}}@media (-webkit-min-device-pixel-ratio:3),(min-resolution:3dppx){.vkuiAlert--ios .vkuiAlert__actions--direction-vertical .vkuiAlert__action:after,.vkuiAlert--ios .vkuiAlert__content:after{transform:scaleY(.33)}.vkuiAlert--ios .vkuiAlert__actions--direction-horizontal .vkuiAlert__action:after{transform:scaleX(.33)}}.vkuiAlert--ios .vkuiAlert__action--mode-cancel{font-weight:600}.vkuiAlert--ios .vkuiAlert__action--mode-destructive{color:var(--vkui--color_text_negative)}.vkuiAlert--vkcom{box-shadow:0 0 2px rgba(0,0,0,.12),0 0 96px rgba(0,0,0,.16);width:400px}.vkuiAlert--vkcom .vkuiAlert__content{padding-bottom:20px}.vkuiAlert--vkcom .vkuiAlert__actions{padding:0 20px 12px}.vkuiAlert--vkcom .vkuiAlert__button{order:2}.vkuiAlert--vkcom .vkuiAlert__button--mode-cancel{order:1}.vkuiAlert__dismiss{color:var(--vkui--color_icon_secondary);position:absolute;right:8px;top:8px}@keyframes vkuianimation-ios-alert-intro{0%{opacity:0;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes vkuianimation-android-alert-intro{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.vkuiModalDismissButton{box-sizing:border-box;color:var(--vkui--color_icon_contrast);height:56px;justify-content:center;padding:18px;position:absolute;right:-56px;top:0;transition:opacity .15s ease-out;width:56px}.vkuiModalDismissButton:before{background:var(--vkui--color_overlay_primary);border-radius:50%;bottom:14px;content:"";display:block;left:14px;position:absolute;right:14px;top:14px}.vkuiModalDismissButton .vkuiIcon{transform:translate(0)}.vkuiModalDismissButton--hover.vkuiModalDismissButton:before{background:var(--vkui--color_overlay_primary--hover)}.vkuiModalDismissButton--active.vkuiModalDismissButton:before{background:var(--vkui--color_overlay_primary--active)}.vkuiActionSheet{animation:vkuianimation-actionsheet-intro .2s var(--vkui--animation_easing_platform);box-sizing:border-box;max-width:var(--vkui--size_popup_small--regular);padding:10px;width:100%}.vkuiActionSheet__content-wrapper{background:var(--vkui--color_background_modal);border-radius:12px;box-shadow:var(--vkui--elevation3);overflow:hidden;padding:8px 0}.vkuiActionSheet__header{color:var(--vkui--color_text_subhead);padding:16px 20px}.vkuiActionSheet--closing{transform:translateY(calc(100% + 20px));transition:transform .2s var(--vkui--animation_easing_platform)}.vkuiActionSheet__title+.vkuiActionSheet__text{margin-top:8px}.vkuiActionSheet--ios{animation:vkuianimation-actionsheet-intro .3s var(--vkui--animation_easing_platform);background:transparent;padding:8px}.vkuiActionSheet--ios .vkuiActionSheet__content-wrapper{border-radius:14px;padding:0}.vkuiActionSheet__close-item-wrapper--ios{background:var(--vkui--color_background_modal);border-radius:14px;box-shadow:var(--vkui--elevation3);margin-bottom:var(--vkui_internal--safe_area_inset_bottom);margin-top:8px;overflow:hidden}.vkuiActionSheet--ios.vkuiActionSheet--closing{transform:translateY(100%);transition:transform .3s var(--vkui--animation_easing_platform)}.vkuiActionSheet--ios .vkuiActionSheet__header{position:relative;text-align:center}.vkuiActionSheet--ios .vkuiActionSheet__text,.vkuiActionSheet--ios .vkuiActionSheet__title{position:relative}.vkuiActionSheet--ios .vkuiActionSheet__header:before{background-color:var(--vkui--color_background_modal);content:"";height:100%;left:0;position:absolute;top:0;width:100%}.vkuiActionSheet--sizeY-compact .vkuiActionSheet__header{padding:12px 20px}.vkuiActionSheet--menu{animation:none;height:auto;max-width:100%;padding:0;width:auto}.vkuiActionSheet--menu.vkuiActionSheet--ios .vkuiActionSheet__content-wrapper{border-radius:14px;padding:0}@keyframes vkuianimation-actionsheet-intro{0%{transform:translateY(100%)}to{transform:translateY(0)}}.vkuiPopper{z-index:var(--vkui--z_index_popout)}.vkuiFloatingArrow{position:absolute}.vkuiFloatingArrow__in{content:"";display:block;transform:translateY(1px)}.vkuiFloatingArrow--placement-right{transform:rotate(90deg) translate(50%,-50%);transform-origin:right}.vkuiFloatingArrow--placement-bottom{transform:rotate(180deg)}.vkuiFloatingArrow--placement-left{transform:rotate(-90deg) translate(-50%,-50%);transform-origin:left}.vkuiActionSheetItem{align-items:center;box-sizing:border-box;color:var(--vkui--color_text_primary);display:flex;min-height:48px;overflow:hidden;padding:0 20px;position:relative;text-decoration:none}.vkuiActionSheetItem__after,.vkuiActionSheetItem__before,.vkuiActionSheetItem__container{position:relative}.vkuiActionSheetItem__after,.vkuiActionSheetItem__before{flex-shrink:0}.vkuiActionSheetItem__container{flex-grow:1;max-width:100%;padding:10px 0}.vkuiActionSheetItem--ellipsis{overflow:hidden;white-space:nowrap}.vkuiActionSheetItem__content{align-items:baseline;display:flex;justify-content:space-between;overflow:hidden}.vkuiActionSheetItem--ellipsis .vkuiActionSheetItem__content{justify-content:flex-start}.vkuiActionSheetItem__children{min-width:0;overflow:hidden;text-overflow:ellipsis}.vkuiActionSheetItem__subtitle{color:var(--vkui--color_text_secondary);margin-top:2px;overflow:hidden;text-overflow:ellipsis}.vkuiActionSheetItem__meta{color:var(--vkui--color_text_secondary);flex-shrink:0;margin-left:6px}.vkuiActionSheetItem__before{color:var(--vkui--color_icon_accent);margin-right:16px}.vkuiActionSheetItem--menu .vkuiActionSheetItem__before{margin-right:12px}.vkuiActionSheetItem--ios .vkuiActionSheetItem__before{color:var(--vkui--color_icon_accent_themed);margin-right:18px}.vkuiActionSheetItem--mode-destructive .vkuiActionSheetItem__container:first-child{color:var(--vkui--color_text_negative)}.vkuiActionSheetItem--mode-destructive .vkuiActionSheetItem__before{color:var(--vkui--color_icon_negative)}.vkuiActionSheetItem__after{color:var(--vkui--color_icon_accent);display:flex;flex-direction:row;margin-left:16px}.vkuiActionSheetItem__after>:not(:last-child){margin-right:12px}.vkuiActionSheetItem--ios{background:var(--vkui--color_background_modal);color:var(--vkui--color_text_accent_themed);min-height:56px;padding:14px 18px}.vkuiActionSheetItem--rich{color:var(--vkui--color_text_primary)}.vkuiActionSheet--ios.vkuiActionSheetItem--selectable{padding:14px 16px}.vkuiActionSheetItem--ios.vkuiActionSheetItem--mode-destructive{color:var(--vkui--color_text_negative)}.vkuiActionSheetItem--ios:before{background-color:var(--vkui--color_background_modal);content:"";height:100%;left:0;position:absolute;top:0;transition:opacity .15s ease-out,background-color .15s ease-out;width:100%}.vkuiActionSheetItem--ios:after{background:var(--vkui--color_separator_primary_alpha);content:"";height:1px;left:0;position:absolute;right:0;top:0;transform-origin:center bottom}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx){.vkuiActionSheetItem--ios:after{transform:scaleY(.5)}}@media (-webkit-min-device-pixel-ratio:3),(min-resolution:3dppx){.vkuiActionSheetItem--ios:after{transform:scaleY(.33)}}.vkuiActionSheet--ios .vkuiActionSheetItem--last:after,.vkuiActionSheet--ios .vkuiActionSheet__header:empty,.vkuiActionSheetItem--ios:first-child:after,.vkuiActionSheetItem--mode-cancel:after{content:none}.vkuiActionSheetItem--ios.vkuiActionSheetItem--active:before{background-color:var(--vkui--color_transparent--active);opacity:1;transition:none}.vkuiActionSheetItem--ios .vkuiActionSheetItem__container{padding:0}.vkuiActionSheetItem--ios .vkuiActionSheetItem--centered{justify-content:center}.vkuiActionSheetItem--mode-cancel{min-height:52px}.vkuiActionSheetItem--menu{border-radius:0;cursor:pointer;width:auto}.vkuiActionSheetItem[disabled] .vkuiActionSheetItem__children,.vkuiActionSheetItem[disabled] .vkuiActionSheetItem__meta,.vkuiActionSheetItem[disabled] .vkuiActionSheetItem__subtitle{color:var(--vkui--color_text_secondary)}.vkuiActionSheetItem[disabled] .vkuiActionSheetItem__before,.vkuiActionSheetItem[disabled] .vkuiActionSheetItem__marker{color:var(--vkui--color_icon_secondary)}.vkuiActionSheetItem--sizeY-compact{min-height:32px}.vkuiActionSheetItem--sizeY-compact.vkuiActionSheetItem--ios{min-height:36px;padding:4px 20px 4px 18px}.vkuiActionSheetItem--sizeY-compact:not(.vkuiActionSheetItem--ios)+.vkuiActionSheetItem--sizeY-compact:not(.vkuiActionSheetItem--ios){margin-top:2px}.vkuiActionSheetItem--sizeY-compact .vkuiActionSheetItem__container{padding:5px 0}.vkuiActionSheetItemRadio__input~*{display:none}.vkuiActionSheetItemRadio__input:checked~*{display:block}.vkuiScreenSpinner{animation:vkuiscreen-spinner-intro .3s ease}.vkuiScreenSpinner--clickable{cursor:pointer}.vkuiScreenSpinner__spinner{opacity:1;transition:opacity .1s ease}.vkuiScreenSpinner__spinner--hidden{opacity:0}.vkuiScreenSpinner__container{background:var(--vkui--color_background_modal);border-radius:var(--vkui--size_border_radius--regular);box-shadow:var(--vkui--elevation4);color:var(--vkui--color_icon_medium);height:88px;position:relative;width:88px}.vkuiScreenSpinner__icon{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}.vkuiScreenSpinner__icon .vkuiIcon{animation:vkuiscreen-spinner-intro .2s ease}.vkuiScreenSpinner__icon--state-done .vkuiIcon path{stroke-dasharray:50;stroke-dashoffset:50;animation:vkuiscreen-spinner-icon-done .6s .3s var(--vkui--animation_easing_platform) forwards}@keyframes vkuiscreen-spinner-icon-done{0%{stroke-dashoffset:50}to{stroke-dashoffset:0}}@keyframes vkuiscreen-spinner-intro{0%{opacity:0}to{opacity:1}}.vkuiSnackbar{bottom:0;left:auto;padding-bottom:var(--vkui_internal--safe_area_inset_bottom);padding-left:var(--vkui_internal--safe_area_inset_left);padding-right:var(--vkui_internal--safe_area_inset_right);position:fixed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:var(--vkui--z_index_popout)}.vkuiInternalEpic--hasTabbar .vkuiSnackbar{padding-bottom:calc(var(--vkui_internal--tabbar_height) + var(--vkui_internal--safe_area_inset_bottom))}.vkuiSnackbar__in,.vkuiSnackbar__snackbar{transition:transform .32s var(--vkui--animation_easing_platform)}.vkuiSnackbar__in{animation:vkuianimation-snackbar-intro-vertical .34s var(--vkui--animation_easing_platform);padding:8px}.vkuiSnackbar--closing .vkuiSnackbar__in{transform:translate3d(0,140%,0)}.vkuiModalRoot .vkuiSnackbar{padding-bottom:var(--vkui_internal--safe_area_inset_bottom)}.vkuiSnackbar--ios .vkuiSnackbar__in,.vkuiSnackbar--ios .vkuiSnackbar__snackbar{transition:transform .4s var(--vkui--animation_easing_platform)}.vkuiSnackbar--desktop{bottom:0;left:0;max-width:351px}.vkuiSnackbar--desktop .vkuiSnackbar__in{animation-name:vkuianimation-snackbar-intro-horizontal;padding:12px}.vkuiSnackbar--desktop.vkuiSnackbar--closing .vkuiSnackbar__in{transform:translate3d(-140%,0,0)}.vkuiSnackbar--touched .vkuiSnackbar__snackbar{transition:none}@keyframes vkuianimation-snackbar-intro-vertical{0%{transform:translate3d(0,140%,0)}to{transform:translateZ(0)}}@keyframes vkuianimation-snackbar-intro-horizontal{0%{transform:translate3d(-140%,0,0)}to{transform:translateZ(0)}}.vkuiSnackbar__body{align-items:center;background:var(--vkui--color_background_modal);border-radius:var(--vkui--size_card_border_radius--regular);box-shadow:var(--vkui--elevation4);box-sizing:border-box;display:flex;min-height:56px;padding:12px}.vkuiSnackbar--mode-dark{background:var(--vkui--color_background_contrast_inverse)}.vkuiSnackbar__before{margin-right:12px}.vkuiSnackbar__after{margin-left:12px}.vkuiSnackbar__content{align-items:center;display:flex;flex:1;overflow:hidden}.vkuiSnackbar--layout-vertical .vkuiSnackbar__content{align-items:flex-start;flex-direction:column}.vkuiSnackbar__content-text{color:var(--vkui--color_text_primary);display:-webkit-box;flex:1;width:100%;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.vkuiSnackbar__content-subtitle{color:var(--vkui--color_text_subhead);margin-top:2px}.vkuiSnackbar--mode-dark .vkuiSnackbar__content-text{color:var(--vkui--color_text_contrast)}.vkuiSnackbar--layout-horizontal .vkuiSnackbar__action{margin-left:12px;position:relative}.vkuiSnackbar--layout-vertical .vkuiSnackbar__action{margin-top:2px;min-height:auto}.vkuiTooltipBase{white-space:normal}.vkuiTooltipBase__content{background-color:var(--vkui--color_background_modal);border-radius:var(--vkui--size_border_radius--regular);box-shadow:var(--vkui--elevation3);color:var(--vkui--color_text_primary);padding:9px 12px 10px}.vkuiTooltipBase__arrow{color:var(--vkui--color_background_modal)}.vkuiTooltipBase--appearance-accent .vkuiTooltipBase__content{background-color:var(--vkui--color_background_accent_tint);color:var(--vkui--color_text_contrast)}.vkuiTooltipBase--appearance-accent .vkuiTooltipBase__arrow{color:var(--vkui--color_background_accent_tint)}.vkuiTooltipBase--appearance-white .vkuiTooltipBase__content{background-color:var(--vkui--color_background_contrast);color:var(--vkui--color_text_primary_invariably)}.vkuiTooltipBase--appearance-white .vkuiTooltipBase__arrow{color:var(--vkui--color_background_contrast)}.vkuiTooltipBase--appearance-black .vkuiTooltipBase__content{background-color:var(--vkui--color_background_contrast_inverse);color:var(--vkui--color_text_contrast)}.vkuiTooltipBase--appearance-black .vkuiTooltipBase__arrow{color:var(--vkui--color_background_contrast_inverse)}.vkuiTooltipBase--appearance-inversion .vkuiTooltipBase__content{background-color:var(--vkui--color_background_modal_inverse);color:var(--vkui--color_text_contrast_themed)}.vkuiTooltipBase--appearance-inversion .vkuiTooltipBase__arrow{color:var(--vkui--color_background_modal_inverse)}.vkuiModalRoot,.vkuiModalRoot__mask{height:100%;width:100%}.vkuiModalRoot__mask{animation:vkuianimation-fade-in .32s ease;background:rgba(0,0,0,.4);left:0;opacity:1;position:absolute;top:0;transition:opacity 167ms ease-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiModalRoot--touched .vkuiModalRoot__mask{transition:none}.vkuiModalRoot--switching .vkuiModalRoot__mask{pointer-events:none}.vkuiModalRoot__viewport{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0}:not(.vkuiModalRoot--desktop).vkuiModalRoot .vkuiModalRoot__viewport{top:var(--vkui_internal--safe_area_inset_top)}:not(.vkuiModalRoot--desktop).vkuiModalRoot--hasCustomPanelHeaderAfterSlot .vkuiModalRoot__viewport{top:calc(var(--vkui_internal--safe_area_inset_top) + var(--vkui_internal--panel_header_height))}.vkuiModalRoot__modal{box-sizing:border-box;height:100%;position:absolute;width:100%}@keyframes vkuianimation-fade-in{0%{opacity:0}to{opacity:1}}.vkuiModalPage{box-sizing:border-box;height:100%;overflow:hidden;pointer-events:none;position:absolute;width:100%}.vkuiModalPage:focus{outline:none}.vkuiModalPage--desktop{align-items:center;display:flex;justify-content:center}.vkuiModalPage__in-wrap{align-items:flex-end;bottom:0;display:flex;height:100%;left:0;margin-left:auto;margin-right:auto;pointer-events:auto;position:absolute;right:0;transform:translateY(100%);transition:transform .32s var(--vkui--animation_easing_platform);width:100%}.vkuiModalPage--ios .vkuiModalPage__in-wrap{transition:transform .4s var(--vkui--animation_easing_platform)}.vkuiModalPage--desktop .vkuiModalPage__in-wrap{align-items:normal;height:auto;margin:32px 56px;max-height:640px;opacity:0;position:relative;transform:none;transition:opacity .34s var(--vkui--animation_easing_platform)}@media (max-height:672px){.vkuiModalPage--desktop .vkuiModalPage__in-wrap{max-height:calc(100% - 64px)}}.vkuiModalPage--size-s .vkuiModalPage__in-wrap{max-width:var(--vkui--size_popup_small--regular)}.vkuiModalPage--size-m .vkuiModalPage__in-wrap{max-width:var(--vkui--size_popup_medium--regular)}.vkuiModalPage--size-l .vkuiModalPage__in-wrap{max-width:var(--vkui--size_popup_large--regular)}.vkuiModalPage__in{background-color:var(--vkui--color_background_modal);border-top-left-radius:var(--vkui--size_border_radius_paper--regular);border-top-right-radius:var(--vkui--size_border_radius_paper--regular);box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow:visible;position:relative;width:100%;--vkui_internal--background:var(--vkui--color_background_modal)}.vkuiModalPage--desktop .vkuiModalPage__in{border-bottom-left-radius:var(--vkui--size_border_radius_paper--regular);border-bottom-right-radius:var(--vkui--size_border_radius_paper--regular);box-shadow:var(--vkui--elevation3);height:auto}.vkuiModalPage__header{width:100%}.vkuiModalPage__content-wrap{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative}.vkuiModalPage__header:empty+.vkuiModalPage__content-wrap{border-radius:inherit}.vkuiModalPage__content{box-sizing:border-box;height:100%;overflow-x:hidden;overflow-y:hidden}.vkuiInternalModalRoot__modal--expandable .vkuiModalPage__content,.vkuiModalPage--desktop .vkuiModalPage__content{overflow-y:auto;-webkit-overflow-scrolling:touch}.vkuiInternalModalRoot__modal--expandable .vkuiModalPage__content-in,.vkuiModalPage--desktop .vkuiModalPage__content-in{height:100%}.vkuiModalPage__bottom-inset{flex-shrink:0;height:var(--vkui_internal--safe_area_inset_bottom)}.vkuiInternalModalRoot--touched .vkuiModalPage__in-wrap{transition:none}.vkuiInternalModalRoot--switching .vkuiModalPage__in-wrap{pointer-events:none}.vkuiInternalModalRoot__modal--collapsed .vkuiModalPage__content,.vkuiInternalModalRoot__modal--dragging .vkuiModalPage__content{overflow:hidden;touch-action:pan-y}.vkuiModalPageHeader{--vkui_internal--safe_area_inset_top:0}.vkuiModalPageHeader--withGaps{padding-left:4px;padding-right:4px}.vkuiModalPageHeader--desktop.vkuiModalPageHeader--withGaps{padding-left:8px;padding-right:8px}.vkuiModalPageHeader .vkuiIcon--cancel_24,.vkuiModalPageHeader .vkuiIcon--dismiss_24{color:var(--vkui--color_icon_secondary)}.vkuiModalCard{align-items:flex-end;box-sizing:border-box;display:flex;height:100%;left:0;padding:8px;position:absolute;top:0;width:100%}.vkuiModalCard:focus{outline:none}.vkuiModalCard__in{margin-left:auto;margin-right:auto;transform:translateY(calc(100% + 16px));transition:transform .34s var(--vkui--animation_easing_platform);width:100%}.vkuiModalCard--ios .vkuiModalCard__in{max-width:414px}.vkuiModalCard--android .vkuiModalCard__in{max-width:440px}.vkuiModalCard--vkcom .vkuiModalCard__in{max-width:400px}.vkuiModalCard--desktop{align-items:center}.vkuiModalCard--desktop .vkuiModalCard__in{opacity:0;transform:unset;transition:opacity .34s var(--vkui--animation_easing_platform)}.vkuiInternalModalRoot--touched .vkuiModalCard__in{transition:none}.vkuiModalCardBase__container{background:var(--vkui--color_background_modal);border-radius:12px;box-shadow:var(--vkui--elevation3);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;margin-bottom:var(--vkui_internal--safe_area_inset_bottom);padding:16px;pointer-events:auto;position:relative;--vkui_internal--background:var(--vkui--color_background_modal);--vkui_internal--dismiss_icon_height:20px;--vkui_internal--dismiss_icon_padding:12px;--vkui_internal--dismiss_icon_safe_offset:4px;--vkui_internal--dismiss_icon_desktop_offset:4px}.vkuiModalCardBase--withSafeZone .vkuiModalCardBase__container{padding-top:calc(var(--vkui_internal--dismiss_icon_height) + var(--vkui_internal--dismiss_icon_padding) + var(--vkui_internal--dismiss_icon_safe_offset))}.vkuiModalCardBase__container--softwareKeyboardOpened{margin-bottom:0}.vkuiModalCardBase__header,.vkuiModalCardBase__subheader{margin:0;padding:0 8px;text-align:center;word-break:break-word}.vkuiModalCardBase__header{color:var(--vkui--color_text_primary)}.vkuiModalCardBase__subheader{color:var(--vkui--color_text_subhead)}.vkuiModalCardBase__icon{color:var(--vkui--color_icon_accent);margin:8px auto 16px}.vkuiModalCardBase__actions{margin-top:16px}.vkuiModalCardBase__dismiss{color:var(--vkui--color_icon_secondary);padding:var(--vkui_internal--dismiss_icon_padding);position:absolute;right:0;top:0}.vkuiModalCardBase--ios .vkuiModalCardBase__container{border-radius:14px;--vkui_internal--dismiss_icon_height:24px;--vkui_internal--dismiss_icon_padding:12px;--vkui_internal--dismiss_icon_safe_offset:0px}.vkuiModalCardBase--desktop .vkuiModalCardBase__dismiss{right:var(--vkui_internal--dismiss_icon_desktop_offset);top:var(--vkui_internal--dismiss_icon_desktop_offset)}.vkuiModalCardBase--desktop .vkuiModalCardBase__container{padding:24px;--vkui_internal--dismiss_icon_safe_offset:0px}.vkuiModalCardBase--desktop.vkuiModalCardBase--ios .vkuiModalCardBase__container{--vkui_internal--dismiss_icon_padding:10px;--vkui_internal--dismiss_icon_safe_offset:6px}.vkuiModalCardBase--withSafeZone.vkuiModalCardBase--desktop .vkuiModalCardBase__container{padding-top:calc(var(--vkui_internal--dismiss_icon_height) + var(--vkui_internal--dismiss_icon_padding) + var(--vkui_internal--dismiss_icon_safe_offset) + var(--vkui_internal--dismiss_icon_desktop_offset))}.vkuiBadge{border-radius:50%;display:block;flex-grow:0;flex-shrink:0;height:6px;width:6px}.vkuiBadge--mode-new{background-color:var(--vkui--color_icon_accent)}.vkuiBadge--mode-prominent{background-color:var(--vkui--color_accent_red)}.vkuiInternalTabbarItem__label .vkuiBadge{position:absolute;right:-2px;top:-2px}.vkuiButtonGroup{display:inline-flex;max-width:100%}.vkuiButtonGroup--stretched{display:flex;width:100%}.vkuiButtonGroup--mode-vertical{flex-direction:column}.vkuiButtonGroup--mode-horizontal{align-items:flex-start;flex-direction:row}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--gap-space>:not(:first-child){margin-top:var(--vkui--size_button_group_gap_space--regular)}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--gap-s>:not(:first-child){margin-top:var(--vkui--size_button_group_gap_small--regular)}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--gap-m>:not(:first-child){margin-top:var(--vkui--size_button_group_gap_medium--regular)}.vkuiButtonGroup--mode-horizontal>:not(.vkuiButtonGroup){min-width:0}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--gap-space>:not(:last-child){margin-right:var(--vkui--size_button_group_gap_space--regular)}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--gap-s>:not(:last-child){margin-right:var(--vkui--size_button_group_gap_small--regular)}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--gap-m>:not(:last-child){margin-right:var(--vkui--size_button_group_gap_medium--regular)}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--align-left{align-items:flex-start}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--align-center{align-items:center}.vkuiButtonGroup--mode-vertical.vkuiButtonGroup--align-right{align-items:flex-end}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--align-left{justify-content:flex-start}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--align-center{justify-content:center}.vkuiButtonGroup--mode-horizontal.vkuiButtonGroup--align-right{justify-content:flex-end}.vkuiCard{background:var(--vkui--color_background_secondary);border-radius:var(--vkui--size_card_border_radius--regular);position:relative}.vkuiCard--mode-shadow{box-shadow:var( --vkui--elevation3,0 2px 24px 0 rgba(0,0,0,.08),0 0 2px 0 rgba(0,0,0,.08) )}.vkuiCard--mode-outline,.vkuiCard--mode-shadow{background:var(--vkui--color_background_modal)}.vkuiCard--withBorder:after{border:var(--vkui--size_border--regular) solid var(--vkui--color_image_border_alpha);border-radius:inherit;box-sizing:border-box;content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.vkuiInternalCardScroll .vkuiCard{flex-shrink:0;margin-right:var(--vkui--size_cardgrid_padding--regular)}.vkuiInternalCardScroll .vkuiCard:last-of-type{margin-right:0}.vkuiInternalCardScroll--size-s .vkuiCard{width:40%}.vkuiInternalCardScroll--size-m .vkuiCard{width:62%}.vkuiInternalCardScroll--size-l .vkuiCard{margin-right:var(--vkui--size_base_padding_horizontal--regular);width:calc(100% - var(--vkui--size_base_padding_horizontal--regular) * 2)}.vkuiInternalGroup--mode-card .vkuiInternalCardScroll--size-l .vkuiCard,.vkuiInternalSplitCol--viewWidth-tabletPlus.vkuiInternalSplitCol--spaced-auto .vkuiInternalCardScroll--size-l .vkuiCard{margin-right:16px;width:calc(100% - 32px)}@media (min-width:768px){.vkuiInternalSplitCol--viewWidth-none.vkuiInternalSplitCol--spaced-auto .vkuiInternalCardScroll--size-l .vkuiCard{margin-right:16px;width:calc(100% - 32px)}}.vkuiInternalGroup--mode-card .vkuiInternalCardScroll--size-l .vkuiCard:last-of-type,.vkuiInternalSplitCol--viewWidth-tabletPlus.vkuiInternalSplitCol--spaced-auto .vkuiInternalCardScroll--size-l .vkuiCard:last-of-type{margin-right:0}@media (min-width:768px){.vkuiInternalGroup--mode-none .vkuiInternalCardScroll--size-l .vkuiCard:last-of-type,.vkuiInternalSplitCol--viewWidth-none.vkuiInternalSplitCol--spaced-auto .vkuiInternalCardScroll--size-l .vkuiCard:last-of-type{margin-right:0}.vkuiInternalGroup--mode-none .vkuiInternalCardScroll--size-l .vkuiCard{margin-right:16px;width:calc(100% - 32px)}}.vkuiInternalCardGrid .vkuiCard{margin-right:var(--vkui--size_cardgrid_padding--regular)}.vkuiInternalCardGrid--size-l .vkuiCard{margin-right:0;width:100%}.vkuiInternalCardGrid--size-l .vkuiCard:not(:first-child){margin-top:var(--vkui--size_cardgrid_padding--regular)}.vkuiInternalCardGrid--size-m .vkuiCard{width:calc(50% - (var(--vkui--size_cardgrid_padding--regular) / 2))}.vkuiInternalCardGrid--size-m .vkuiCard:nth-child(n+3){margin-top:var(--vkui--size_cardgrid_padding--regular)}.vkuiInternalCardGrid--size-m .vkuiCard:nth-child(2n){margin-right:0}.vkuiInternalCardGrid--size-s .vkuiCard{width:calc((100% - 2 * var(--vkui--size_cardgrid_padding--regular)) / 3)}.vkuiInternalCardGrid--size-s .vkuiCard:nth-child(n+4){margin-top:var(--vkui--size_cardgrid_padding--regular)}.vkuiInternalCardGrid--size-s .vkuiCard:nth-child(3n){margin-right:0}.vkuiCardGrid{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:flex-start}.vkuiCardGrid--spaced{padding:var(--vkui--size_base_padding_vertical--regular) var(--vkui--size_base_padding_horizontal--regular)}.vkuiCardGrid--sizeX-compact{padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular)}@media (max-width:767.9px){.vkuiCardGrid--sizeX-none{padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular)}}.vkuiCardGrid+.vkuiCardGrid{margin-top:calc(var(--vkui--size_cardgrid_padding_vertical--regular) * 2)}.vkuiInternalGroup--mode-card .vkuiCardGrid{padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular)}@media (min-width:768px){.vkuiInternalGroup--mode-none .vkuiCardGrid{padding-left:8px;padding-right:8px}}.vkuiInternalGroup .vkuiCardGrid:first-child{margin-top:var(--vkui--size_cardgrid_padding_vertical--regular)}.vkuiInternalGroup .vkuiCardGrid:last-child{margin-bottom:var(--vkui--size_cardgrid_padding_vertical--regular)}.vkuiCardScroll__in{align-items:stretch;display:flex}.vkuiCardScroll__gap{display:block;flex-shrink:0}.vkuiCardScroll+.vkuiCardScroll{margin-top:16px}.vkuiCardScroll--withSpaces .vkuiCardScroll__gap{width:var(--vkui--size_base_padding_horizontal--regular)}.vkuiInternalSplitCol--viewWidth-tabletPlus.vkuiInternalSplitCol--spaced-auto .vkuiCardScroll--withSpaces .vkuiCardScroll__gap{width:16px}@media (min-width:768px){.vkuiInternalSplitCol--viewWidth-none.vkuiInternalSplitCol--spaced-auto .vkuiCardScroll--withSpaces .vkuiCardScroll__gap{width:16px}}.vkuiInternalGroup--mode-card .vkuiCardScroll--withSpaces{margin-left:-8px;margin-right:-8px}.vkuiInternalGroup--mode-card .vkuiCardScroll--withSpaces:first-child{padding-top:var(--vkui--size_cardgrid_padding_vertical--regular)}.vkuiInternalGroup--mode-card .vkuiCardScroll--withSpaces:last-child{padding-bottom:var(--vkui--size_cardgrid_padding_vertical--regular)}@media (min-width:768px){.vkuiInternalGroup--mode-none .vkuiCardScroll--withSpaces{margin-left:-8px;margin-right:-8px}.vkuiInternalGroup--mode-none .vkuiCardScroll--withSpaces:first-child{padding-top:var(--vkui--size_cardgrid_padding_vertical--regular)}.vkuiInternalGroup--mode-none .vkuiCardScroll--withSpaces:last-child{padding-bottom:var(--vkui--size_cardgrid_padding_vertical--regular)}}.vkuiContentCard--disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiContentCard__body{padding:var(--vkui--size_base_padding_vertical--regular) var(--vkui--size_base_padding_horizontal--regular)}.vkuiContentCard__tappable{border-radius:var(--vkui--size_card_border_radius--regular);color:var(--vkui--color_text_primary);display:block;text-decoration:none}.vkuiContentCard__img{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--vkui--size_card_border_radius--regular);border-top-right-radius:var(--vkui--size_card_border_radius--regular);display:block;object-fit:cover}.vkuiContentCard__text:not(:last-child){margin-bottom:4px}.vkuiContentCard__caption,.vkuiContentCard__subtitle{color:var(--vkui--color_text_secondary)}.vkuiHeader{align-items:flex-start;display:flex;font-family:var(--vkui--font_family_base);padding:0;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.vkuiHeader__main{color:var(--vkui--color_text_primary);flex:1 0 0;min-width:0}.vkuiHeader__content{align-items:center;display:flex}.vkuiHeader__content-in,.vkuiHeader__subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiHeader__content--multiline{white-space:normal;word-break:break-word}.vkuiHeader__subtitle{display:block}.vkuiHeader--mode-secondary:not(.vkuiHeader--pi):not(.vkuiHeader--with-subtitle) .vkuiHeader__main,.vkuiHeader--mode-tertiary .vkuiHeader__main,.vkuiHeader__indicator,.vkuiHeader__subtitle{color:var(--vkui--color_text_secondary)}.vkuiHeader__indicator{flex-shrink:0;margin-left:6px}.vkuiHeader--mode-primary .vkuiHeader__indicator{color:var(--vkui--color_text_subhead)}.vkuiHeader:not(.vkuiHeader--pi) .vkuiHeader__indicator{align-self:center}.vkuiHeader--mode-secondary .vkuiHeader__indicator{margin-left:8px}.vkuiHeader__aside{display:flex;white-space:nowrap}.vkuiHeader__aside.vkuiHeader__aside>*{margin-bottom:7px;margin-left:12px;margin-top:13px}.vkuiHeader__aside>.vkuiIcon{color:var(--vkui--color_icon_secondary);position:relative}.vkuiHeader__aside>.vkuiIcon--24{margin-bottom:5px;margin-top:11px}.vkuiHeader__aside>.vkuiIcon--16{margin-bottom:9px;margin-top:15px}.vkuiHeader--mode-primary{padding-bottom:1px;padding-top:3px}.vkuiHeader__content{margin-top:12px}.vkuiHeader__content:last-child{margin-bottom:8px}.vkuiHeader--mode-tertiary .vkuiHeader__content{margin-top:15px}.vkuiHeader--mode-tertiary .vkuiHeader__content:last-child{margin-bottom:9px}.vkuiHeader__subtitle{margin-bottom:7px}.vkuiHeader--mode-primary .vkuiHeader__subtitle{margin-bottom:6px}.vkuiHeader--large .vkuiHeader__content{margin-bottom:6px;margin-top:10px}.vkuiInternalGroup--mode-plain:not(:first-of-type)>.vkuiHeader:first-child,.vkuiInternalGroup--mode-plain:not(:first-of-type)>.vkuiInternalTappable:first-child>.vkuiHeader{margin-top:-16px}@media (max-width:767.9px){.vkuiInternalGroup--sizeX-none.vkuiInternalGroup--mode-none:not(:first-of-type)>.vkuiHeader:first-child,.vkuiInternalGroup--sizeX-none.vkuiInternalGroup--mode-none:not(:first-of-type)>.vkuiInternalTappable:first-child>.vkuiHeader{margin-top:-16px}}.vkuiInternalGroup--mode-card>.vkuiHeader:not(.vkuiHeader--mode-tertiary):first-child,.vkuiInternalGroup--mode-card>.vkuiInternalTappable:first-child>.vkuiHeader:not(.vkuiHeader--mode-tertiary){margin-top:-4px}@media (min-width:768px){.vkuiInternalGroup--sizeX-none.vkuiInternalGroup--mode-none>.vkuiHeader:not(.vkuiHeader--mode-tertiary):first-child,.vkuiInternalGroup--sizeX-none.vkuiInternalGroup--mode-none>.vkuiInternalTappable:first-child>.vkuiHeader:not(.vkuiHeader--mode-tertiary){margin-top:-4px}}.vkuiHeader__aside{--vkui_internal--link-color:var(--vkui--color_text_accent)}.vkuiGroup{color:var(--vkui--color_text_primary);padding-bottom:8px;padding-top:8px}.vkuiGroup__header:empty{display:none}.vkuiGroup--mode-plain:not(:first-of-type)>.vkuiGroup__header{margin-top:-8px}@media (max-width:767.9px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none:not(:first-of-type)>.vkuiGroup__header{margin-top:-8px}}.vkuiGroup--mode-card>.vkuiGroup__header{margin-top:-4px}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none>.vkuiGroup__header{margin-top:-4px}}.vkuiGroup__separator--separator,.vkuiGroup__separator--spacing{display:none}.vkuiGroup--mode-plain+*+.vkuiGroup__separator--separator{display:block}@media (max-width:767.9px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none+*+.vkuiGroup__separator--separator{display:block}}.vkuiGroup--mode-card+.vkuiGroup__separator--spacing{display:block}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none+.vkuiGroup__separator--spacing{display:block}}.vkuiGroup:last-of-type~.vkuiGroup__separator{display:none}.vkuiGroup--mode-card:last-of-type+.vkuiGroup__separator--spacing,.vkuiGroup:last-of-type~.vkuiGroup__separator--force{display:block}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none:last-of-type+.vkuiGroup__separator--spacing{display:block}}.vkuiGroup--mode-card.vkuiGroup--padding-s{padding:4px}.vkuiGroup--mode-card.vkuiGroup--padding-m{padding:8px}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--inside-modal.vkuiGroup--padding-s,.vkuiGroup--sizeX-none.vkuiGroup--mode-none.vkuiGroup--padding-s{padding:4px}.vkuiGroup--sizeX-none.vkuiGroup--inside-modal.vkuiGroup--padding-m,.vkuiGroup--sizeX-none.vkuiGroup--mode-none.vkuiGroup--padding-m{padding:8px}}.vkuiGroup--sizeX-compact,.vkuiGroup--sizeX-compact.vkuiGroup--mode-card{padding-left:0;padding-right:0}@media (max-width:767.9px){.vkuiGroup--sizeX-none,.vkuiGroup--sizeX-none.vkuiGroup--mode-card{padding-left:0;padding-right:0}}.vkuiGroup--mode-card{background:var(--vkui--color_background_content);border-radius:var(--vkui--size_border_radius_paper--regular);position:relative}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none{background:var(--vkui--color_background_content);border-radius:var(--vkui--size_border_radius_paper--regular);position:relative}}.vkuiGroup--sizeX-compact.vkuiGroup--mode-card:first-of-type{border-bottom-left-radius:var(--vkui--size_border_radius_paper--regular);border-bottom-right-radius:var(--vkui--size_border_radius_paper--regular);border-top-left-radius:0;border-top-right-radius:0}@media (max-width:767.9px){.vkuiGroup--sizeX-none.vkuiGroup--mode-card:first-of-type{border-bottom-left-radius:var(--vkui--size_border_radius_paper--regular);border-bottom-right-radius:var(--vkui--size_border_radius_paper--regular);border-top-left-radius:0;border-top-right-radius:0}}.vkuiGroup--mode-card:before{border-radius:inherit;box-shadow:inset 0 0 0 var(--vkui--size_border--regular) var(--vkui--color_separator_primary);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}@media (min-width:768px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none:before{border-radius:inherit;box-shadow:inset 0 0 0 var(--vkui--size_border--regular) var(--vkui--color_field_border_alpha);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}}.vkuiGroup--sizeX-compact.vkuiGroup--mode-card:before{box-shadow:none}@media (max-width:767.9px){.vkuiGroup--sizeX-none.vkuiGroup--mode-card:before{box-shadow:none}}.vkuiGroup--mode-plain+.vkuiGroup__separator,.vkuiGroup--mode-plain+.vkuiGroup__separator+.vkuiGroup__separator{padding-bottom:8px;padding-top:8px}@media (max-width:767.9px){.vkuiGroup--sizeX-none.vkuiGroup--mode-none+.vkuiGroup__separator,.vkuiGroup--sizeX-none.vkuiGroup--mode-none+.vkuiGroup__separator+.vkuiGroup__separator{padding-bottom:8px;padding-top:8px}}.vkuiGroup__description{color:var(--vkui--color_text_secondary);display:block;padding-bottom:16px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:4px}.vkuiGroup .vkuiGroup,.vkuiGroup .vkuiGroup+.vkuiGroup__separator{padding-left:0;padding-right:0}.vkuiGroup .vkuiGroup:first-of-type{padding-top:0}.vkuiGroup .vkuiGroup:last-of-type{padding-bottom:0}.vkuiInternalPanelHeader--vkcom+* .vkuiGroup:first-of-type,.vkuiInternalPanelHeader--vkcom~.vkuiGroup:first-of-type{border-top-left-radius:0;border-top-right-radius:0;position:relative;top:-1px}.vkuiGradient{background:linear-gradient(to bottom,var(--vkui--gradient))}.vkuiGradient.vkuiGradient--to-bottom{background:linear-gradient(to top,var(--vkui--gradient))}.vkuiGradient--mode-tint{background:linear-gradient(to bottom,var(--vkui--gradient_tint))}.vkuiGradient--mode-tint.vkuiGradient--to-bottom{background:linear-gradient(to top,var(--vkui--gradient_tint))}.vkuiCell{position:relative}.vkuiCell--dragging{background-color:var(--vkui--color_background_secondary);box-shadow:var(--vkui--elevation3)}.vkuiCell--selectable.vkuiCell--disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiCell__checkbox,.vkuiCell__dragger{flex-shrink:0;margin-right:16px;position:relative}.vkuiCell__content{max-width:100%;min-width:0}.vkuiCell--removable .vkuiCell__content{flex-grow:1;padding-right:44px}.vkuiCell--removable .vkuiInternalRemovable__content{padding-left:0}.vkuiCell--removable .vkuiInternalRemovable__action{padding-left:0;position:absolute;right:0}.vkuiCell--ios .vkuiCell__dragger{margin-left:12px;margin-right:0}.vkuiCell--ios .vkuiCell__checkbox{margin-right:12px}.vkuiCell--ios.vkuiCell--removable .vkuiCell__content{padding-left:48px;padding-right:var(--vkui--size_base_padding_horizontal--regular)}.vkuiCell--ios.vkuiCell--removable .vkuiInternalRemovable__action{left:0;right:auto;z-index:1}.vkuiCell--ios.vkuiCell--removable .vkuiInternalRemovable__content{padding-right:0}.vkuiInternalFormItem>.vkuiCell{margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0}.vkuiCellDragger{color:var(--vkui--color_icon_secondary);cursor:ns-resize;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiCellDragger__icon{pointer-events:none}.vkuiCellCheckbox{display:flex;justify-content:center;width:24px}.vkuiCellCheckbox__icon{color:var(--vkui--color_icon_tertiary);display:none}.vkuiCellCheckbox__icon--on{color:var(--vkui--color_icon_accent)}.vkuiCellCheckbox__input:checked~.vkuiCellCheckbox__icon--on,.vkuiCellCheckbox__input:not(:checked)~.vkuiCellCheckbox__icon--off{display:block}.vkuiRemovable__content{align-items:center;display:flex;padding-left:var(--vkui--size_base_padding_horizontal--regular);position:relative}.vkuiRemovable__action{border:0;color:var(--vkui--color_icon_secondary);flex-grow:0;flex-shrink:0;position:relative}.vkuiRemovable--align-start .vkuiRemovable__action{align-self:flex-start}.vkuiRemovable--ios{overflow:hidden}.vkuiRemovable__remove{background-color:var(--vkui--color_background_negative);border:0;border-radius:0;color:var(--vkui_internal--white);font-size:15px;height:100%;left:100%;line-height:45px;padding:0 10px;position:absolute;top:0}.vkuiRemovable__remove-in{align-items:center;display:flex;height:100%;justify-content:center;width:100%}@media (prefers-reduced-motion:no-preference){.vkuiRemovable--ios .vkuiRemovable__content{transition:transform .6s var(--vkui--animation_easing_platform)}}.vkuiRemovable__toggle{background:none;display:block;height:44px;margin:0 2px;width:44px}.vkuiRemovable__toggle-in{align-content:center;align-items:center;border:0;display:flex;height:100%;justify-content:center;position:relative;width:100%}.vkuiRemovable__toggle-in:after{background-color:var(--vkui--color_background_negative);border-radius:50%;content:"";height:22px;width:22px}.vkuiRemovable__toggle-in:before{background-color:var(--vkui_internal--white);content:"";display:block;height:2px;position:absolute;width:12px}.vkuiRemovable--ios .vkuiRemovable__content{padding-left:0;padding-right:var(--vkui--size_base_padding_horizontal--regular)}.vkuiRemovable--indent .vkuiRemovable__action{pointer-events:none;visibility:hidden}.vkuiInternalFormItem--removable .vkuiRemovable__content,.vkuiInternalFormLayoutGroup--removable .vkuiRemovable__content{align-items:flex-start;flex-wrap:wrap}.vkuiRemovable__offset{display:none}.vkuiInternalFormItem--withTop .vkuiInternalFormItem__removable~.vkuiRemovable__offset,.vkuiInternalFormLayoutGroup--removable .vkuiInternalFormItem--withTop~.vkuiRemovable__offset{display:block;height:calc(2px + var(--vkui--font_subhead--line_height--regular) + 8px);order:-1;width:100%}.vkuiInternalFormItem--sizeY-compact.vkuiInternalFormItem--withTop .vkuiInternalFormItem__removable~.vkuiRemovable__offset,.vkuiInternalFormLayoutGroup--sizeY-compact.vkuiInternalFormLayoutGroup--removable .vkuiInternalFormItem--withTop~.vkuiRemovable__offset{height:calc(2px + var(--vkui--font_subhead--line_height--compact) + 6px)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiInternalFormItem--sizeY-none.vkuiInternalFormItem--withTop .vkuiInternalFormItem__removable~.vkuiRemovable__offset,.vkuiInternalFormLayoutGroup--sizeY-none.vkuiInternalFormLayoutGroup--removable .vkuiInternalFormItem--withTop~.vkuiRemovable__offset{height:calc(2px + var(--vkui--font_subhead--line_height--compact) + 6px)}}.vkuiSimpleCell{align-items:center;color:var(--vkui--color_text_primary);display:flex;min-height:48px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);text-decoration:none;white-space:nowrap}.vkuiSimpleCell--mult{white-space:normal}.vkuiSimpleCell--mult .vkuiSimpleCell__children{text-overflow:clip}.vkuiSimpleCell__before{align-items:center;color:var(--vkui_internal--icon_color,var(--vkui--color_icon_accent));display:flex;padding-bottom:6px;padding-right:12px;padding-top:6px}.vkuiSimpleCell__before>.vkuiIcon{padding-right:4px}.vkuiSimpleCell__before:empty{display:none}.vkuiSimpleCell__middle{display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;min-width:0;overflow:hidden;padding-bottom:10px;padding-top:10px}.vkuiSimpleCell__middle>:not(:first-child){margin-top:2px}.vkuiSimpleCell__subhead{color:var(--vkui--color_text_subhead)}.vkuiSimpleCell__text{overflow:hidden;text-overflow:ellipsis}.vkuiSimpleCell__extraSubtitle,.vkuiSimpleCell__subtitle{color:var(--vkui--color_text_secondary)}.vkuiSimpleCell .vkuiSimpleCell__content{align-content:flex-start;align-items:center;display:flex;justify-content:space-between;max-width:100%}.vkuiSimpleCell:not(.vkuiSimpleCell--mult) .vkuiSimpleCell__content{justify-content:flex-start}.vkuiSimpleCell__children{color:inherit;display:block;overflow:hidden;text-overflow:ellipsis}.vkuiSimpleCell--mult .vkuiSimpleCell__children,.vkuiSimpleCell--mult .vkuiSimpleCell__subtitle{flex:1 1 auto}.vkuiSimpleCell__badge{color:var(--vkui--color_icon_accent);display:inline-block;flex-grow:0;flex-shrink:0}.vkuiSimpleCell__content>:not(:last-child){margin-right:4px}.vkuiSimpleCell__indicator{color:var(--vkui--color_text_secondary);flex-shrink:0;min-width:0;overflow:hidden;padding-left:12px;text-overflow:ellipsis;white-space:nowrap}.vkuiSimpleCell__after{align-items:center;color:var(--vkui_internal--icon_color,var(--vkui--color_icon_accent));display:flex;flex-shrink:0}.vkuiSimpleCell__after>.vkuiIcon{padding-left:8px}.vkuiSimpleCell__after>.vkuiIcon:last-child{padding-right:2px}.vkuiSimpleCell__chevronIcon{color:var(--vkui--color_icon_tertiary);padding-left:12px}.vkuiSimpleCell--sizeY-compact{min-height:44px}.vkuiSimpleCell--sizeY-compact .vkuiSimpleCell__before{padding-bottom:4px;padding-top:4px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSimpleCell--sizeY-none{min-height:44px}.vkuiSimpleCell--sizeY-none .vkuiSimpleCell__before{padding-bottom:4px;padding-top:4px}}.vkuiInternalFormItem>.vkuiSimpleCell{margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0}.vkuiRichCell{box-sizing:border-box;color:var(--vkui--color_text_primary);display:flex;font-family:var(--vkui--font_family_base);min-height:64px;padding-bottom:8px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:8px;text-decoration:none}.vkuiRichCell--sizeY-compact{min-height:60px}.vkuiRichCell__before{margin-right:12px}.vkuiRichCell__in{display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;min-width:0}.vkuiRichCell__content{display:flex;word-break:break-word}.vkuiRichCell__content-before{flex-grow:1;min-width:0}.vkuiRichCell__content-after{align-items:flex-end;box-sizing:border-box;display:flex;flex-direction:column;flex-shrink:0;padding-left:12px}.vkuiRichCell__after-children{font-weight:var(--vkui--font_weight_accent2)}.vkuiRichCell__after-caption{color:var(--vkui--color_text_secondary);font-size:var(--vkui--font_footnote--font_size--regular);line-height:var(--vkui--font_footnote--line_height--regular);margin-top:2px}.vkuiRichCell--sizeY-compact .vkuiRichCell__after-caption{font-size:var(--vkui--font_caption1--font_size--regular);line-height:var(--vkui--font_caption1--line_height--regular)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiRichCell--sizeY-none .vkuiRichCell__after-caption{font-size:var(--vkui--font_caption1--font_size--regular);line-height:var(--vkui--font_caption1--line_height--regular)}}.vkuiRichCell__caption,.vkuiRichCell__subhead{color:var(--vkui--color_text_secondary)}.vkuiRichCell__caption{margin-top:1px}.vkuiRichCell__children{font-weight:var(--vkui--font_weight_accent2)}.vkuiRichCell--text-ellipsis .vkuiRichCell__caption,.vkuiRichCell--text-ellipsis .vkuiRichCell__children,.vkuiRichCell--text-ellipsis .vkuiRichCell__subhead,.vkuiRichCell--text-ellipsis .vkuiRichCell__text{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiRichCell__bottom{margin-top:5px}.vkuiRichCell__actions{margin-top:8px}.vkuiRichCell__after-children,.vkuiRichCell__children,.vkuiRichCell__text{font-size:var(--vkui--font_paragraph--font_size--regular);line-height:var(--vkui--font_paragraph--line_height--regular)}.vkuiRichCell--sizeY-compact .vkuiRichCell__after-children,.vkuiRichCell--sizeY-compact .vkuiRichCell__children,.vkuiRichCell--sizeY-compact .vkuiRichCell__text{font-size:var(--vkui--font_subhead--font_size--regular);line-height:var(--vkui--font_subhead--line_height--regular)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiRichCell--sizeY-none .vkuiRichCell__after-children,.vkuiRichCell--sizeY-none .vkuiRichCell__children,.vkuiRichCell--sizeY-none .vkuiRichCell__text{font-size:var(--vkui--font_subhead--font_size--regular);line-height:var(--vkui--font_subhead--line_height--regular)}}.vkuiInternalFormItem .vkuiRichCell{margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular))}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiRichCell--sizeY-none{min-height:60px}}.vkuiRichCellIcon{align-items:center;box-sizing:border-box;color:var(--vkui--color_icon_accent_themed);display:flex;flex-direction:row;height:40px;justify-content:flex-end;padding:6px 0 6px 12px;width:48px}.vkuiCellButton{background:transparent;border:0;box-sizing:border-box;margin:0;padding-bottom:0;padding-top:0;text-align:left;text-decoration:none;width:100%}.vkuiInternalFormItem .vkuiCellButton{box-sizing:initial;margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0;width:100%}.vkuiCellButton[disabled]{opacity:.4}.vkuiCellButton--centered{justify-content:center;text-align:center}.vkuiCellButton--centered>*{flex-grow:0;max-width:none}.vkuiCellButton--centered .vkuiIcon{padding-right:8px}.vkuiCellButton{--vkui_internal--icon_color:var(--vkui--color_icon_accent);color:var(--vkui--color_text_accent)}.vkuiCellButton--mode-danger{--vkui_internal--icon_color:var(--vkui--color_text_negative);color:var(--vkui--color_text_negative)}.vkuiHorizontalCell{display:flex}.vkuiHorizontalCell__image{display:flex;justify-content:center}.vkuiHorizontalCell__body{font-family:inherit;text-decoration:none}.vkuiHorizontalCell .vkuiHorizontalCell__body{border-radius:var(--vkui--size_border_radius--regular)}.vkuiHorizontalCell__content{color:var(--vkui--color_text_primary);text-overflow:ellipsis;word-break:break-all}.vkuiHorizontalCell__subtitle{color:var(--vkui--color_text_secondary)}.vkuiHorizontalCell__content .vkuiHorizontalCell__subtitle{margin-top:2px}.vkuiHorizontalCell--size-s{--vkui_internal--side_cell_gap:calc(var(--vkui--size_base_padding_horizontal--regular) - var(--vkui--spacing_size_m));--vkui_internal--side_cell_width:calc(72px + var(--vkui_internal--side_cell_gap));max-width:72px}.vkuiHorizontalCell__image{padding-bottom:4px;padding-left:var(--vkui--spacing_size_s);padding-right:var(--vkui--spacing_size_s);padding-top:4px}.vkuiHorizontalCell__content{padding:2px 6px 8px;text-align:left}.vkuiHorizontalCell--size-s .vkuiHorizontalCell__image{padding-bottom:4px;padding-left:var(--vkui--spacing_size_m);padding-right:var(--vkui--spacing_size_m);padding-top:4px}.vkuiHorizontalCell--size-s .vkuiHorizontalCell__content{padding:2px 4px 8px;text-align:center}.vkuiHorizontalCell--size-m{--vkui_internal--side_cell_width:calc(100px + var(--vkui_internal--side_cell_gap));max-width:100px}.vkuiHorizontalCell--size-l{width:auto}.vkuiHorizontalCell:first-child:before,.vkuiHorizontalCell:last-child:after{content:"";min-width:var(--vkui_internal--side_cell_gap)}.vkuiHorizontalCell--size-m:first-child,.vkuiHorizontalCell--size-m:last-child,.vkuiHorizontalCell--size-s:first-child,.vkuiHorizontalCell--size-s:last-child{max-width:var(--vkui_internal--side_cell_width)}.vkuiAvatar{border-radius:50%}.vkuiAvatar--has-gradient{color:var(--vkui--color_text_contrast)}.vkuiAvatar--gradient-red{background-color:#e52e40;background-image:linear-gradient(135deg,#ff7583,#e52e40)}.vkuiAvatar--gradient-pink{background-color:#e62e6b;background-image:linear-gradient(135deg,#ff8880,#e62e6b)}.vkuiAvatar--gradient-orange{background-color:#e66b2e;background-image:linear-gradient(135deg,#ffbf80,#e66b2e)}.vkuiAvatar--gradient-yellow{background-color:#e7a902;background-image:linear-gradient(135deg,#ffd54f,#e7a902)}.vkuiAvatar--gradient-green{background-color:#6cd97e;background-image:linear-gradient(135deg,#6cd97e,#12b212)}.vkuiAvatar--gradient-l-blue{background-color:#2bb4d6;background-image:linear-gradient(135deg,#7df1fa,#2bb4d6)}.vkuiAvatar--gradient-blue{background-color:#3f8ae0;background-image:linear-gradient(135deg,#6cf,#3f8ae0)}.vkuiAvatar--gradient-violet{background-color:#8f3fe0;background-image:linear-gradient(135deg,#d3a6ff,#8f3fe0)}.vkuiAvatar__initials{font-family:var(--vkui--font_family_accent);font-weight:600;line-height:1;text-align:center;text-transform:uppercase}.vkuiAvatarBadge{bottom:0;right:0}.vkuiAvatarBadge--shifted{bottom:-2px;right:-2px}.vkuiAvatarBadge--preset-online,.vkuiAvatarBadge--preset-onlineMobile{bottom:14%;color:var(--vkui--color_accent_green);right:14%;transform:translate(50%,50%)}.vkuiAvatarBadge--preset-online{padding:0}.vkuiAvatarBadge--preset-onlineMobile{border-radius:3px}.vkuiHorizontalCellShowMore{display:flex}.vkuiHorizontalCellShowMore--compensate-last-cell-indent{margin-left:calc(-1 * var(--vkui_internal--side_cell_gap))}.vkuiHorizontalCellShowMore:last-child:after{content:"";min-width:var(--vkui_internal--side_cell_gap)}.vkuiHorizontalCellShowMore__body{align-items:center;display:flex;flex-direction:column;justify-content:center;padding-bottom:4px;padding-left:var(--vkui--spacing_size_s);padding-right:var(--vkui--spacing_size_s);padding-top:4px}.vkuiHorizontalCellShowMore--size-s .vkuiHorizontalCellShowMore__body{min-width:64px;padding:var(--vkui--spacing_size_xs)}.vkuiHorizontalCellShowMore--size-l .vkuiHorizontalCellShowMore__body,.vkuiHorizontalCellShowMore--size-m .vkuiHorizontalCellShowMore__body{margin-bottom:auto;width:128px}.vkuiHorizontalCellShowMore .vkuiHorizontalCellShowMore__body{border-radius:var(--vkui--size_border_radius--regular)}.vkuiHorizontalCellShowMore__icon{color:var(--vkui--color_icon_accent)}.vkuiHorizontalCellShowMore__text{color:var(--vkui--color_text_accent);padding-top:8px}.vkuiFooter{color:var(--vkui--color_text_secondary);display:block;padding-bottom:24px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:24px;text-align:center}.vkuiInfoRow{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.vkuiInfoRow,.vkuiInfoRow__header{overflow:hidden;text-overflow:ellipsis}.vkuiInfoRow__header{color:var(--vkui--color_text_subhead);display:block;margin-bottom:2px;white-space:nowrap}.vkuiBaseGallery{overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiBaseGallery__viewport{height:100%;margin:0;position:relative}.vkuiBaseGallery--align-center .vkuiBaseGallery__viewport{margin:0 auto}.vkuiBaseGallery__layer{align-items:stretch;display:flex;height:100%;min-height:100px;width:100%}.vkuiBaseGallery--draggable .vkuiBaseGallery__layer{cursor:-webkit-grab;cursor:grab}.vkuiBaseGallery__layer:empty{min-height:0}.vkuiBaseGallery__slide{flex:0 0 auto;max-width:100%;overflow:hidden;width:100%}.vkuiBaseGallery--custom-width .vkuiBaseGallery__slide{width:auto}.vkuiBaseGallery__slide>*{min-height:100%;width:100%}.vkuiBaseGallery__bullets{align-items:center;bottom:10px;display:flex;height:6px;justify-content:center;left:0;position:absolute;width:100%}.vkuiBaseGallery__bullets--dark .vkuiBaseGallery__bullet{background-color:var(--vkui--color_icon_primary_invariably)}.vkuiBaseGallery__bullets--light .vkuiBaseGallery__bullet{background-color:var(--vkui--color_icon_contrast)}.vkuiBaseGallery__bullet{border-radius:50%;height:6px;margin:0 3px;opacity:var(--vkui--opacity_disable_accessibility);width:6px}.vkuiBaseGallery__bullet--active{opacity:1}.vkuiBaseGallery__arrow{opacity:0;position:absolute;top:0}.vkuiBaseGallery:hover .vkuiBaseGallery__arrow{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiBaseGallery .vkuiBaseGallery__arrow:hover{opacity:1}.vkuiGridAvatar{border-radius:50%}.vkuiGridAvatar__in{border-radius:inherit;display:flex;flex-flow:column wrap;height:100%;overflow:hidden;width:100%}.vkuiGridAvatar__item{background-position:50%;background-size:cover;height:calc(50% - var(--vkui_internal--grid_avatar_image_offset) / 2);margin-right:var(--vkui_internal--grid_avatar_image_offset);width:calc(50% - var(--vkui_internal--grid_avatar_image_offset) / 2)}.vkuiGridAvatar__item:only-child{width:100%}.vkuiGridAvatar__item:first-child:not(:nth-last-child(4)),.vkuiGridAvatar__item:nth-child(2):last-child{height:100%}.vkuiGridAvatar__item:nth-last-child(4),.vkuiGridAvatar__item:nth-last-child(n+3)~.vkuiGridAvatar__item:nth-last-child(2){margin-bottom:var(--vkui_internal--grid_avatar_image_offset)}.vkuiGridAvatarBadge{bottom:0;right:0}.vkuiGridAvatarBadge--shifted{bottom:-2px;right:-2px}.vkuiImageBadge{bottom:-4px;position:absolute;right:-4px}.vkuiImageBadge--shifted{bottom:-3px;right:-3px}.vkuiProgress{background:var(--vkui--color_track_background);border-radius:1px;height:2px}.vkuiProgress__in{border-radius:inherit;height:100%;transition:width .2s ease}.vkuiProgress--appearance-accent .vkuiProgress__in{background:var(--vkui--color_stroke_accent)}.vkuiProgress--appearance-positive .vkuiProgress__in{background:var(--vkui--color_stroke_positive)}.vkuiProgress--appearance-negative .vkuiProgress__in{background:var(--vkui--color_stroke_negative)}.vkuiSearch{display:flex;overflow:hidden;-webkit-tap-highlight-color:transparent;--vkui_internal--search_height:var(--vkui--size_search_height--regular)}.vkuiSearch--withPadding{padding-bottom:8px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:8px}.vkuiSearch--sizeY-compact{--vkui_internal--search_height:var(--vkui--size_search_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSearch--sizeY-none{--vkui_internal--search_height:var(--vkui--size_search_height--compact)}}.vkuiSearch__field{background-color:var(--vkui--color_search_field_background);border-radius:var(--vkui--size_border_radius--regular);display:flex;flex:2;height:var(--vkui_internal--search_height);overflow:hidden;position:relative;width:10000px}.vkuiSearch__field:hover{background-color:var(--vkui--color_search_field_background--hover)}.vkuiSearch__field:active{background-color:var(--vkui--color_search_field_background--active)}.vkuiSearch__label{bottom:0;cursor:text;left:0;opacity:0;position:absolute;right:0;top:0}.vkuiSearch__input{align-items:center;border-radius:inherit;color:var(--vkui--color_icon_medium);display:flex;height:100%;justify-content:flex-start;padding-left:12px;position:relative;width:calc(100% - 1px)}.vkuiSearch__nativeInput{-webkit-appearance:none;background-color:initial;border:0;border-radius:inherit;bottom:0;box-sizing:border-box;color:var(--vkui--color_text_primary);flex-grow:1;height:100%;left:0;margin:0;max-width:100%;min-width:0;padding:0 0 0 36px;position:absolute;right:0;top:0;width:-webkit-fill-available;width:-moz-available;width:stretch}.vkuiSearch__nativeInput::-webkit-search-cancel-button,.vkuiSearch__nativeInput::-webkit-search-decoration,.vkuiSearch__nativeInput::-webkit-search-results-button,.vkuiSearch__nativeInput::-webkit-search-results-decoration{display:none}.vkuiSearch__nativeInput:focus{outline:var(--vkui_internal--outline-reset)}.vkuiSearch--has-after .vkuiSearch__nativeInput{border-bottom-right-radius:0;border-top-right-radius:0}.vkuiSearch--disabled{cursor:default;pointer-events:none}.vkuiSearch--disabled,.vkuiSearch__nativeInput:disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiSearch__nativeInput::-ms-input-placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiSearch__nativeInput::placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiSearch__nativeInput:disabled::-ms-input-placeholder{color:var(--vkui--color_text_secondary)}.vkuiSearch__nativeInput:disabled::placeholder{color:var(--vkui--color_text_secondary)}.vkuiSearch__controls{align-items:center;color:var(--vkui--color_icon_secondary);display:flex;justify-content:center;position:relative;transform:translate3d(100%,0,0);transition:transform .3s var(--vkui--animation_easing_platform);--vkui_internal--search_icon_size:calc(var(--vkui_internal--search_height) + 4px)}.vkuiSearch--has-icon .vkuiSearch__controls{transform:translate3d(calc(100% - var(--vkui_internal--search_icon_size)),0,0)}.vkuiSearch--has-value .vkuiSearch__controls{transform:translateZ(0)}.vkuiSearch__icon{align-items:center;border-radius:var(--vkui--size_border_radius--regular);display:flex;height:100%;justify-content:center;width:var(--vkui_internal--search_icon_size)}.vkuiSearch__icon .vkuiIcon{padding:0}.vkuiSearch__after{flex:0;margin-left:4px;margin-right:calc(4px - var(--vkui--size_base_padding_horizontal--regular));max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;min-width:auto;overflow:hidden;pointer-events:none;transform:translate(50%);transform-origin:left;transition:flex .3s var(--vkui--animation_easing_platform),transform .3s var(--vkui--animation_easing_platform)}.vkuiSearch--focused .vkuiSearch__after,.vkuiSearch--has-value .vkuiSearch__after{flex:1;pointer-events:auto;transform:translate(0)}.vkuiSearch__afterText{display:block;overflow:hidden;text-overflow:clip;white-space:nowrap}.vkuiSearch__findButton{max-width:none;min-width:auto;width:auto}.vkuiGroup--mode-plain .vkuiSearch{padding-top:4px}.vkuiTabs__in{align-items:stretch;display:flex}.vkuiTabs--withGaps{justify-content:flex-start}.vkuiInternalPanelHeader .vkuiTabs{font-family:var(--vkui--font_family_base);overflow:hidden}.vkuiInternalPanelHeader .vkuiTabs:after{content:"";display:block;width:1000px}.vkuiInternalGroup--mode-plain>.vkuiTabs--mode-default:first-child{margin-top:-8px}.vkuiInternalGroup--mode-card>.vkuiTabs--mode-default:first-child{margin-top:-4px}.vkuiInternalFixedLayout--ios.vkuiInternalFixedLayout--vertical-bottom .vkuiTabs:after{background:var(--vkui--color_background_content);content:"";height:100%;left:0;position:absolute;top:0;width:100%}.vkuiInternalFixedLayout--ios.vkuiInternalFixedLayout--vertical-bottom .vkuiSeparator,.vkuiInternalFixedLayout--ios.vkuiInternalFixedLayout--vertical-bottom .vkuiTabs__in{position:relative;z-index:var(--vkui_internal--z_index_tabs)}.vkuiTabsItem{align-items:center;border-radius:var(--vkui--size_border_radius--regular);box-sizing:border-box;display:flex;justify-content:center;max-width:100%;min-height:32px;min-width:0;padding:4px 8px;transition:background-color .15s ease-out}.vkuiTabsItem--withGaps{margin-bottom:8px;margin-top:8px}.vkuiTabsItem--withGaps:not(:first-of-type){margin-left:6px}.vkuiTabsItem--sizeY-compact{min-height:28px;padding-bottom:2px;padding-top:2px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiTabsItem--sizeY-none{min-height:28px;padding-bottom:2px;padding-top:2px}}.vkuiTabsItem[disabled]{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiTabsItem--mode-default{flex-basis:0;flex-grow:1;flex-shrink:0;min-height:48px;padding:12px 16px;position:relative}.vkuiTabsItem--sizeY-compact.vkuiTabsItem--mode-default{min-height:44px;padding-bottom:10px;padding-top:10px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiTabsItem--sizeY-none.vkuiTabsItem--mode-default{min-height:44px;padding-bottom:10px;padding-top:10px}}.vkuiTabsItem--hover.vkuiTabsItem--mode-default{background-color:var(--vkui--color_transparent--hover)}.vkuiTabsItem--mode-accent{transition:background-color .15s ease-out,box-shadow .15s ease-out}.vkuiTabsItem--selected.vkuiTabsItem--mode-accent{background-color:var(--vkui--color_background_modal);box-shadow:var(--vkui--elevation2)}.vkuiTabsItem--hover.vkuiTabsItem--mode-accent{background-color:var(--vkui--color_background_secondary)}.vkuiTabsItem--mode-accent:before{border:var(--vkui--size_border--regular) solid transparent;border-radius:inherit;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.vkuiTabsItem--selected.vkuiTabsItem--mode-accent:before{border-color:var(--vkui--color_separator_primary)}.vkuiTabsItem--selected.vkuiTabsItem--mode-secondary{background-color:var(--vkui--color_background_secondary_alpha)}.vkuiTabsItem--hover.vkuiTabsItem--mode-secondary{background-color:var(--vkui--color_background_secondary_alpha--hover)}.vkuiTabsItem__before{color:var(--vkui--color_icon_medium);margin-right:6px;transition:color .15s ease-out}.vkuiTabsItem--selected .vkuiTabsItem__before{color:var(--vkui--color_icon_primary)}.vkuiTabsItem--selected.vkuiTabsItem--mode-accent .vkuiTabsItem__before{color:var(--vkui--color_icon_accent_themed)}.vkuiTabsItem--selected.vkuiTabsItem--mode-secondary .vkuiTabsItem__before{opacity:.72}.vkuiTabsItem__label{color:var(--vkui--color_text_secondary);max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;transition:color .15s ease-out;white-space:nowrap}.vkuiTabsItem--selected .vkuiTabsItem__label{color:var(--vkui--color_text_primary)}.vkuiTabsItem--selected.vkuiTabsItem--mode-accent .vkuiTabsItem__label{color:var(--vkui--color_text_accent_themed)}.vkuiTabsItem--selected.vkuiTabsItem--mode-secondary .vkuiTabsItem__label{opacity:.72}.vkuiTabsItem__status{margin-left:6px}.vkuiTabsItem__status--count{color:var(--vkui--color_text_tertiary)}.vkuiTabsItem__after{color:var(--vkui--color_icon_accent_themed);margin-left:6px}.vkuiTabsItem__underline{background-color:var(--vkui--color_background_accent);border-radius:2px;bottom:5px;height:2px;left:16px;opacity:0;pointer-events:none;position:absolute;right:16px;transition:opacity .15s ease-out}.vkuiTabsItem--sizeY-compact .vkuiTabsItem__underline{bottom:3px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiTabsItem--sizeY-none .vkuiTabsItem__underline{bottom:3px}}.vkuiTabsItem__underline[data-selected=true]{opacity:1}.vkuiInternalTabs--vkcom .vkuiTabsItem{flex-grow:0;min-width:auto;padding-left:10px;padding-right:10px}.vkuiInternalTabs--vkcom .vkuiTabsItem__underline{bottom:0;left:2px;right:2px}.vkuiInternalHorizontalScroll .vkuiTabsItem{flex-basis:auto;flex-grow:1;flex-shrink:0;min-width:64px}.vkuiTabsItem.vkuiTabsItem--stretched{flex-grow:1}.vkuiTabsItem.vkuiTabsItem--shrinked{flex-grow:0;min-width:auto}.vkuiPullToRefresh{display:flex;flex-direction:column;flex-grow:1}.vkuiPullToRefresh--refreshing{pointer-events:none;touch-action:none}.vkuiPullToRefresh__controls{pointer-events:none;width:100%}.vkuiPullToRefresh:not(.vkuiPullToRefresh--ios) .vkuiPullToRefresh__controls{z-index:var(--vkui_internal--z_index_pull_to_refresh)}.vkuiPullToRefresh__spinner{align-items:center;background:var(--vkui--color_background_modal);border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.2);box-sizing:border-box;color:var(--vkui--color_icon_accent);display:flex;height:40px;justify-content:center;margin:auto;opacity:0;transition:transform .3s cubic-bezier(.1,0,.25,1),opacity .22s ease-out;width:40px}.vkuiPullToRefresh--ios .vkuiPullToRefresh__spinner{background:none;border-radius:0;box-shadow:none;color:var(--vkui--color_icon_medium)}.vkuiPullToRefresh--watching .vkuiPullToRefresh__spinner{transition:opacity .22s ease-out}.vkuiPullToRefresh__spinner-self{stroke:currentColor}.vkuiPullToRefresh--ios.vkuiPullToRefresh--refreshing .vkuiPullToRefresh__spinner-self{animation:vkuipull-to-refresh-to-refreshing .38s ease-out}.vkuiPullToRefresh__spinner-path{transform:rotate(-90deg);transform-origin:center center;transition:stroke-dashoffset 167ms ease-out}.vkuiPullToRefresh--refreshing .vkuiPullToRefresh__spinner-path,.vkuiPullToRefresh--watching .vkuiPullToRefresh__spinner-path{transition:none}.vkuiPullToRefresh__spinner--on .vkuiPullToRefresh__spinner-path{animation:vkuiptr-rotator var(--vkui_internal--duration) linear infinite}.vkuiPullToRefresh__content{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;transition:transform .4s var(--vkui--animation_easing_platform)}.vkuiPullToRefresh--watching .vkuiPullToRefresh__content{transition:none}@keyframes vkuipull-to-refresh-to-refreshing{0%{transform:scale(1)}30%{transform:scale(.6)}90%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes vkuiptr-rotator{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.vkuiLink{background:none;border:0;border-radius:0;color:var(--vkui_internal--link-color,var(--vkui--color_text_link));cursor:pointer;display:inline;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:none}@media (hover:hover) and (pointer:fine){.vkuiLink:hover{text-decoration:underline}}.vkuiLink--has-visited:visited{color:var(--vkui--color_text_link_visited)}.vkuiLink .vkuiIcon{display:inline-block;margin-left:4px;vertical-align:middle}.vkuiOnboardingTooltip__overlay{height:100%;left:0;position:fixed;top:0;width:100%}.vkuiCounter{align-items:center;box-sizing:border-box;display:flex;justify-content:center;padding-left:5px;padding-right:5px;text-align:center}.vkuiCounter--mode-primary{background:var(--vkui--color_background_accent);color:var(--vkui--color_text_contrast)}.vkuiCounter--mode-secondary{background:var(--vkui--color_icon_secondary);color:var(--vkui--color_text_contrast_themed)}.vkuiCounter--mode-prominent{background:var(--vkui--color_accent_red);color:var(--vkui--color_text_contrast)}.vkuiCounter--mode-contrast{background:var(--vkui--color_background_content);color:var(--vkui--color_text_accent_themed)}.vkuiCounter--size-m{border-radius:12px;height:24px;min-width:24px}.vkuiCounter--size-s{border-radius:9px;height:18px;min-width:18px}.vkuiCounter--mode-inherit{background-color:var( --vkui_internal--counter_inherit_background,var(--vkui--color_icon_secondary) );color:var(--vkui_internal--counter_inherit_color,var(--vkui--color_text_contrast_themed))}.vkuiInternalPanelHeaderButton .vkuiCounter{padding:0;position:absolute;right:2px;top:8px}.vkuiInternalTabbarItem__label .vkuiCounter{position:absolute;right:-9px;top:-2px}.vkuiUsersStack{align-items:center;color:var(--vkui--color_text_secondary);display:flex}.vkuiUsersStack--direction-row-reverse{flex-direction:row-reverse}.vkuiUsersStack--direction-column{flex-direction:column;justify-content:center}.vkuiUsersStack__photos{display:flex}.vkuiUsersStack__fill{fill:var(--vkui--color_image_placeholder_alpha)}.vkuiUsersStack__photo--others{align-items:center;background:var(--vkui--color_icon_secondary);border-radius:50%;color:var(--vkui--color_text_contrast_themed);display:flex;justify-content:center}.vkuiUsersStack--size-s .vkuiUsersStack__photo{height:16px;width:16px}.vkuiUsersStack--size-m .vkuiUsersStack__photo{height:24px;width:24px}.vkuiUsersStack--size-l .vkuiUsersStack__photo{height:32px;width:32px}.vkuiUsersStack__photo+.vkuiUsersStack__photo{margin-left:-2px}.vkuiUsersStack__text{flex:1;min-width:0}.vkuiUsersStack--direction-column .vkuiUsersStack__text{margin-top:8px;text-align:center}.vkuiUsersStack--direction-row .vkuiUsersStack__text{margin-left:8px}.vkuiUsersStack--direction-row-reverse .vkuiUsersStack__text{margin-right:8px}.vkuiPlaceholder{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;text-align:center}.vkuiPlaceholder--withPadding{padding:48px 32px}.vkuiPlaceholder--stretched{flex:1 0;height:100%;padding-bottom:inherit;padding-top:inherit}.vkuiPlaceholder__icon{color:var(--vkui--color_icon_secondary);display:inline-block;margin-bottom:12px;vertical-align:top}.vkuiPlaceholder__header{color:var(--vkui--color_text_primary)}.vkuiPlaceholder__text{color:var(--vkui--color_text_secondary)}.vkuiPlaceholder__header+.vkuiPlaceholder__text{margin-top:8px}.vkuiPlaceholder__action:not(:first-child){margin-top:16px}.vkuiBanner{color:var(--vkui--color_text_primary);isolation:isolate}.vkuiBanner__in{align-items:stretch;background-color:var(--vkui--color_background_secondary);border-radius:var(--vkui--size_border_radius--regular);display:flex;flex-flow:row nowrap;overflow:hidden;padding:12px;position:relative}.vkuiBanner__in:before{border:var(--vkui--size_border--regular) solid var(--vkui--color_image_border_alpha);border-radius:inherit;box-sizing:border-box;content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:var(--vkui_internal--z_index_banner_content)}.vkuiBanner__before{margin-right:12px}.vkuiBanner__before,.vkuiBanner__content{position:relative;z-index:var(--vkui_internal--z_index_banner_content)}.vkuiBanner__content{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0}.vkuiBanner__subheader,.vkuiBanner__text{color:var(--vkui--color_text_subhead)}.vkuiBanner__bg{left:0;position:absolute;top:0;z-index:var(--vkui_internal--z_index_banner_background)}.vkuiBanner__bg,.vkuiBanner__bg>*{height:100%;width:100%}.vkuiBanner__aside{justify-content:flex-end;width:28px}.vkuiBanner__aside,.vkuiBanner__dismiss{align-content:center;align-items:center;color:var(--vkui--color_icon_secondary);display:flex;flex-flow:row nowrap}.vkuiBanner__dismiss{justify-content:center;position:absolute;right:2px;top:2px;z-index:var(--vkui_internal--z_index_banner_hover)}.vkuiBanner__actions{margin-top:12px}.vkuiBanner__subheader:not(:first-child),.vkuiBanner__text:not(:first-child){margin-top:2px}.vkuiBanner--mode-image .vkuiBanner__in{background-color:var(--vkui--color_background_secondary)}.vkuiBanner--inverted,.vkuiBanner--inverted .vkuiBanner__dismiss,.vkuiBanner--inverted .vkuiBanner__expand{color:var(--vkui--color_text_contrast)}.vkuiBanner--inverted .vkuiBanner__subheader{color:var(--vkui--color_text_contrast);opacity:.72}.vkuiBanner--size-m .vkuiBanner__in{padding:16px}.vkuiBanner--size-m .vkuiBanner__subheader:not(:first-child),.vkuiBanner--size-m .vkuiBanner__text:not(:first-child){margin-top:4px}.vkuiBanner--ios .vkuiBanner__dismiss,.vkuiBanner--ios.vkuiBanner--mode-image .vkuiBanner__dismiss{color:var(--vkui--color_icon_secondary)}.vkuiInternalFormStatus .vkuiBanner__in:before{border:0}.vkuiInternalFormStatus--mode-error .vkuiBanner__in{background-color:var(--vkui--color_background_negative_tint)}.vkuiInternalFormStatus--mode-error .vkuiBanner__subheader{color:var(--vkui--color_background_negative)}.vkuiMiniInfoCell{color:var(--vkui--color_text_subhead);display:flex;padding-bottom:6px;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:6px}.vkuiMiniInfoCell--mode-accent{color:var(--vkui--color_text_primary)}.vkuiMiniInfoCell__before{color:var(--vkui--color_icon_secondary);margin-right:12px}.vkuiMiniInfoCell__middle{align-items:center;display:flex;flex:1;min-width:0;overflow:hidden}.vkuiMiniInfoCell__content{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-word}.vkuiMiniInfoCell--textWrap-short .vkuiMiniInfoCell__content{display:-webkit-box;max-height:60px;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical}.vkuiMiniInfoCell--textWrap-full .vkuiMiniInfoCell__content{overflow:inherit;white-space:normal}.vkuiMiniInfoCell--textWrap-nowrap .vkuiMiniInfoCell__content{flex:0 1 auto}.vkuiMiniInfoCell__after{margin-bottom:-2px;margin-left:12px;margin-top:-2px}.vkuiMiniInfoCell--mode-add,.vkuiMiniInfoCell--mode-more{color:var(--vkui--color_text_link_themed)}.vkuiMiniInfoCell--mode-add .vkuiMiniInfoCell__before,.vkuiMiniInfoCell--mode-more .vkuiMiniInfoCell__before{color:var(--vkui--color_icon_accent_themed)}.vkuiMiniInfoCell--mode-more{padding-bottom:10px;padding-top:10px}.vkuiMiniInfoCell__middle .vkuiIcon{color:var(--vkui--color_text_accent);margin-left:4px}.vkuiMiniInfoCell--mode-add .vkuiMiniInfoCell__middle .vkuiIcon,.vkuiMiniInfoCell--mode-more .vkuiMiniInfoCell__middle .vkuiIcon{color:var(--vkui--color_icon_accent_themed)}.vkuiWriteBar{background:var(--vkui--color_background_modal)}.vkuiWriteBar--shadow{box-shadow:var(--vkui--elevation3)}.vkuiWriteBar__after,.vkuiWriteBar__before,.vkuiWriteBar__form{align-items:flex-end;display:flex}.vkuiWriteBar__form{min-height:52px}.vkuiWriteBar__formIn{display:flex;flex:1;min-width:0;position:relative}.vkuiWriteBar__textarea{-webkit-appearance:none;background:transparent;border:0;box-sizing:border-box;color:var(--vkui--color_text_primary);flex:1;margin:0;max-height:120px;min-width:0;resize:none;width:100%}.vkuiWriteBar__textarea::-ms-input-placeholder{color:var(--vkui--color_text_subhead);opacity:1}.vkuiWriteBar__textarea::placeholder{color:var(--vkui--color_text_subhead);opacity:1}.vkuiWriteBar__textarea:focus{outline:var(--vkui_internal--outline-reset)}.vkuiWriteBar__inlineAfter{align-items:flex-end;display:flex}.vkuiWriteBar__before{padding-left:4px}.vkuiWriteBar__after{padding-right:4px}.vkuiWriteBar__textarea{height:52px;padding:16px 12px}.vkuiWriteBar--ios{background:var(--vkui--color_background_content)}.vkuiWriteBar--ios .vkuiWriteBar__after,.vkuiWriteBar--ios .vkuiWriteBar__before{padding:0 4px}.vkuiWriteBar--ios .vkuiWriteBar__formIn{background-color:var(--vkui--color_write_bar_input_background);border:var(--vkui--size_border--regular) solid var(--vkui--color_write_bar_input_border);border-radius:18px;box-sizing:border-box;margin:8px 0}.vkuiWriteBar--ios .vkuiWriteBar__formIn:first-child{margin-left:12px}.vkuiWriteBar--ios .vkuiWriteBar__inlineAfter{--vkui_internal--writebar-right-gap:calc(-1 * var(--vkui--size_border--regular));--vkui_internal--writebar-vertical-gap:calc(var(--vkui_internal--writebar-right-gap) - 8px);margin-bottom:var(--vkui_internal--writebar-vertical-gap);margin-right:var(--vkui_internal--writebar-right-gap);margin-top:var(--vkui_internal--writebar-vertical-gap)}.vkuiWriteBar--ios .vkuiWriteBar__textarea{height:36px;padding:6px 0 6px 12px}.vkuiWriteBarIcon{background:none;border:0;border-radius:var(--vkui--size_border_radius--regular);color:var(--vkui--color_icon_secondary);cursor:pointer;height:52px;margin:0;padding:0;position:relative;width:44px}.vkuiWriteBarIcon__in{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.vkuiWriteBarIcon:disabled{opacity:.4;pointer-events:none}.vkuiWriteBarIcon__active{opacity:.6}.vkuiWriteBarIcon__counter{box-shadow:0 0 0 2px var(--vkui--color_background_modal);position:absolute;right:2px;top:6px}.vkuiWriteBarIcon--ios .vkuiWriteBarIcon__counter{box-shadow:0 0 0 2px var(--vkui--color_background_content)}.vkuiWriteBarIcon.vkuiWriteBarIcon--mode-done,.vkuiWriteBarIcon.vkuiWriteBarIcon--mode-send{color:var(--vkui--color_icon_accent)}.vkuiWriteBarIcon--ios{color:var(--vkui--color_icon_accent_themed)}.vkuiWriteBarIcon--ios.vkuiWriteBarIcon--mode-done,.vkuiWriteBarIcon--ios.vkuiWriteBarIcon--mode-send{color:var(--vkui--color_icon_accent_themed);margin-right:-4px;padding-left:0;padding-right:0;width:48px}.vkuiWriteBarIcon--ios.vkuiWriteBarIcon--mode-done:only-child,.vkuiWriteBarIcon--ios.vkuiWriteBarIcon--mode-send:only-child{margin-left:-4px}.vkuiWriteBarIcon{--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast_themed);--vkui_internal--counter_inherit_background:var(--vkui--color_background_positive)}.vkuiSubnavigationBar__in{margin:-8px 0}.vkuiSubnavigationBar__scrollIn{display:flex;margin:0;padding-bottom:calc(var(--vkui--size_subnavigation_bar_padding_vertical--regular) + 8px);padding-left:0;padding-right:0;padding-top:calc(var(--vkui--size_subnavigation_bar_padding_vertical--regular) + 8px)}.vkuiSubnavigationBar__scrollIn:after,.vkuiSubnavigationBar__scrollIn:before{content:"";min-width:var(--vkui--size_base_padding_horizontal--regular)}.vkuiSubnavigationBar__item{display:flex;list-style-type:none}.vkuiSubnavigationBar__item+.vkuiSubnavigationBar__item{margin-left:var(--vkui--size_subnavigation_bar_gap--regular)}.vkuiSubnavigationBar--mode-fixed .vkuiSubnavigationBar__item{flex:1;min-width:0}.vkuiSubnavigationButton{border-radius:var(--vkui--size_border_radius--regular);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.vkuiSubnavigationButton__in{align-items:center;display:flex;justify-content:center}.vkuiSubnavigationButton--size-s .vkuiSubnavigationButton__in{height:var(--vkui--size_button_small_height--regular)}.vkuiSubnavigationButton--size-m .vkuiSubnavigationButton__in{height:var(--vkui--size_button_medium_height--regular)}.vkuiSubnavigationButton--size-l .vkuiSubnavigationButton__in{height:var(--vkui--size_button_large_height--regular)}.vkuiSubnavigationButton--sizeY-compact.vkuiSubnavigationButton--size-s .vkuiSubnavigationButton__in{height:var(--vkui--size_button_small_height--compact)}.vkuiSubnavigationButton--sizeY-compact.vkuiSubnavigationButton--size-m .vkuiSubnavigationButton__in{height:var(--vkui--size_button_medium_height--compact)}.vkuiSubnavigationButton--sizeY-compact.vkuiSubnavigationButton--size-l .vkuiSubnavigationButton__in{height:var(--vkui--size_button_large_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSubnavigationButton--sizeY-none.vkuiSubnavigationButton--size-s .vkuiSubnavigationButton__in{height:var(--vkui--size_button_small_height--compact)}.vkuiSubnavigationButton--sizeY-none.vkuiSubnavigationButton--size-m .vkuiSubnavigationButton__in{height:var(--vkui--size_button_medium_height--compact)}.vkuiSubnavigationButton--sizeY-none.vkuiSubnavigationButton--size-l .vkuiSubnavigationButton__in{height:var(--vkui--size_button_large_height--compact)}}.vkuiSubnavigationButton__before{color:var(--vkui--color_icon_accent);margin-right:8px}.vkuiSubnavigationButton__label{flex-grow:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiSubnavigationButton__after{margin-left:8px}.vkuiSubnavigationButton__expandableIcon{color:var(--vkui--color_icon_secondary);margin-left:8px;margin-top:1px}.vkuiSubnavigationButton__before:first-child,.vkuiSubnavigationButton__label:first-child{padding-left:var(--vkui--size_button_base_small_padding_horizontal_icon--regular)}.vkuiSubnavigationButton__after:last-child,.vkuiSubnavigationButton__expandableIcon,.vkuiSubnavigationButton__label:last-child{padding-right:var(--vkui--size_button_base_small_padding_horizontal_icon--regular)}.vkuiSubnavigationButton--mode-primary{background-color:var(--vkui--color_background_modal);box-shadow:var(--vkui--elevation3)}.vkuiSubnavigationButton--mode-outline{box-shadow:inset 0 0 0 var(--vkui--size_border--regular) var(--vkui--color_field_border_alpha)}.vkuiSubnavigationButton--appearance-neutral .vkuiSubnavigationButton__before,.vkuiSubnavigationButton--appearance-neutral .vkuiSubnavigationButton__expandableIcon{color:var(--vkui--color_icon_primary)}.vkuiSubnavigationButton--selected{background-color:var(--vkui--color_background_accent_themed);border:0;box-shadow:none;color:var(--vkui--color_text_contrast_themed)}.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--appearance-neutral,.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--mode-tertiary{background-color:var(--vkui--color_transparent--active);color:var(--vkui--color_text_primary)}.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--appearance-accent:not(.vkuiSubnavigationButton--mode-tertiary) .vkuiSubnavigationButton__before,.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--appearance-accent:not(.vkuiSubnavigationButton--mode-tertiary) .vkuiSubnavigationButton__expandableIcon{color:var(--vkui--color_icon_contrast_themed)}.vkuiSubnavigationButton{--vkui_internal--counter_inherit_background:var(--vkui--color_background_accent_themed);--vkui_internal--counter_inherit_color:var(--vkui--color_text_contrast_themed)}.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--appearance-accent:not(.vkuiSubnavigationButton--mode-tertiary){--vkui_internal--counter_inherit_background:var(--vkui--color_background_content);--vkui_internal--counter_inherit_color:var(--vkui--color_text_accent_themed)}.vkuiSubnavigationButton--selected.vkuiSubnavigationButton--appearance-neutral{--vkui_internal--counter_inherit_background:var(--vkui--color_background_content);--vkui_internal--counter_inherit_color:var(--vkui--color_text_primary)}.vkuiPagination__list{display:flex;list-style-type:none;margin:0;padding:0}.vkuiPagination__prevButtonContainer{margin-right:8px}.vkuiPagination__nextButtonContainer{margin-left:8px}.vkuiPaginationPage{border-radius:var(--vkui--size_border_radius--regular);box-sizing:border-box;color:var(--vkui--color_text_secondary);height:var(--vkui--size_button_large_height--regular);line-height:var(--vkui--size_button_large_height--regular);min-width:40px;padding-left:8px;padding-right:8px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.vkuiPaginationPage--state-hover{background-color:var(--vkui--color_transparent--hover)}.vkuiPaginationPage--current,.vkuiPaginationPage--state-active{background-color:var(--vkui--color_transparent--active);color:var(--vkui--color_text_primary)}.vkuiPaginationPage--disabled{opacity:var(--vkui--opacity_disable)}.vkuiPaginationPage--sizeY-compact{height:var(--vkui--size_button_large_height--compact);line-height:var(--vkui--size_button_large_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiPaginationPage--sizeY-none{height:var(--vkui--size_button_large_height--compact);line-height:var(--vkui--size_button_large_height--compact)}}.vkuiPaginationPage--type-ellipsis{min-width:16px;padding-left:0;padding-right:0}.vkuiAccordionSummary__icon{color:var(--vkui--color_icon_secondary)}.vkuiAccordionContent{overflow:hidden}.vkuiAccordionContent__in{max-height:0;transition:max-height .1s ease-in-out}.vkuiFormItem{display:block}.vkuiFormItem--withPadding{padding:var(--vkui--size_form_item_padding_vertical--regular) var(--vkui--size_base_padding_horizontal--regular)}.vkuiFormItem--removable{padding-left:0;padding-right:0}.vkuiFormItem__removable{flex-basis:0;flex-grow:1;flex-shrink:0;max-width:100%;min-width:1px;overflow:hidden;padding:0}.vkuiFormItem__top{color:var(--vkui--color_text_subhead);overflow:hidden;padding-bottom:8px;padding-top:2px;text-overflow:ellipsis;white-space:nowrap}.vkuiFormItem__bottom{color:var(--vkui--color_text_secondary);padding-top:8px}.vkuiFormItem--status-error .vkuiFormItem__bottom{color:var(--vkui--color_text_negative)}.vkuiFormItem--status-valid .vkuiFormItem__bottom,.vkuiFormItem--verified .vkuiFormItem__bottom{color:var(--vkui--color_text_positive)}.vkuiFormItem--sizeY-compact .vkuiFormItem__top{padding-bottom:6px}.vkuiFormItem--sizeY-compact .vkuiFormItem__bottom{padding-top:6px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiFormItem--sizeY-none .vkuiFormItem__top{padding-bottom:6px}.vkuiFormItem--sizeY-none .vkuiFormItem__bottom{padding-top:6px}}.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiFormItem{flex-basis:0;flex-grow:1;flex-shrink:0;max-width:100%;min-width:1px;padding:0}.vkuiInternalFormLayoutGroup--mode-horizontal:not(.vkuiInternalFormLayoutGroup--segmented) .vkuiFormItem+.vkuiFormItem{margin-left:24px}.vkuiInternalFormLayoutGroup--mode-horizontal.vkuiInternalFormLayoutGroup--segmented .vkuiFormItem+.vkuiFormItem{margin-left:calc(-1 * var(--vkui--size_border--regular))}.vkuiInternalFormLayoutGroup--mode-vertical.vkuiInternalFormLayoutGroup--segmented .vkuiFormItem+.vkuiFormItem{margin-top:calc(-1 * var(--vkui--size_border--regular));padding-top:0}.vkuiInternalFormLayoutGroup--mode-vertical.vkuiInternalFormLayoutGroup--segmented .vkuiFormItem:not(:last-of-type){padding-bottom:0}.vkuiFormItem--withTop .vkuiFormItem__removable,.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiFormItem--withTop{margin-top:calc(-2px - var(--vkui--font_subhead--line_height--regular) - 8px)}.vkuiFormItem--sizeY-compact.vkuiFormItem--withTop .vkuiFormItem__removable,.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiFormItem--sizeY-compact.vkuiFormItem--withTop{margin-top:calc(-2px - var(--vkui--font_subhead--line_height--compact) - 6px)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiFormItem--sizeY-none.vkuiFormItem--withTop .vkuiFormItem__removable,.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiFormItem--sizeY-none.vkuiFormItem--withTop{margin-top:calc(-2px - var(--vkui--font_subhead--line_height--compact) - 6px)}}.vkuiFormField{align-items:center;box-sizing:border-box;display:flex;font-family:var(--vkui--font_family_base);min-height:var(--vkui--size_field_height--regular);position:relative;-webkit-tap-highlight-color:transparent;border-radius:var(--vkui--size_border_radius--regular);isolation:isolate}.vkuiFormField--sizeY-compact{min-height:var(--vkui--size_field_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiFormField--sizeY-none{min-height:var(--vkui--size_field_height--compact)}}.vkuiFormField>*{border-radius:inherit;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiFormField__after,.vkuiFormField__before{align-content:center;align-items:center;color:var(--vkui--color_icon_secondary);display:flex;flex-shrink:0;height:100%;justify-content:center;min-width:var(--vkui--size_field_height--regular);position:relative;z-index:var(--vkui_internal--z_index_form_field_side)}.vkuiFormField--sizeY-compact .vkuiFormField__after,.vkuiFormField--sizeY-compact .vkuiFormField__before{height:var(--vkui--size_field_height--compact);min-width:var(--vkui--size_field_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiFormField--sizeY-none .vkuiFormField__after,.vkuiFormField--sizeY-none .vkuiFormField__before{height:var(--vkui--size_field_height--compact);min-width:var(--vkui--size_field_height--compact)}}.vkuiFormField__before{color:var(--vkui--color_icon_accent)}.vkuiFormField__after{color:var(--vkui--color_icon_secondary)}.vkuiFormField__border{border:var(--vkui--size_border--regular) solid transparent;border-radius:inherit;box-sizing:border-box;height:100%;left:0;pointer-events:none;position:absolute;top:0;transform-origin:left top;width:100%;z-index:var(--vkui_internal--z_index_form_field_border)}.vkuiFormField--mode-default .vkuiFormField__border{border-color:var(--vkui--color_field_border_alpha)}.vkuiFormField--mode-default{background-color:var(--vkui--color_field_background)}.vkuiFormField--status-error .vkuiFormField__border,.vkuiInternalFormItem--status-error .vkuiFormField__border{border-color:var(--vkui--color_stroke_negative);z-index:var(--vkui_internal--z_index_form_field_status)}.vkuiFormField--status-error,.vkuiInternalFormItem--status-error .vkuiFormField{background-color:var(--vkui--color_background_negative_tint)}.vkuiFormField--status-valid .vkuiFormField__border,.vkuiInternalFormItem--status-valid .vkuiFormField__border{border-color:var(--vkui--color_stroke_positive);z-index:var(--vkui_internal--z_index_form_field_status)}.vkuiFormField--disabled{cursor:default;opacity:var(--vkui--opacity_disable_accessibility);pointer-events:none}.vkuiFormField--hover{background-color:var(--vkui--color_field_background)}.vkuiFormField--mode-default.vkuiFormField--hover .vkuiFormField__border{border-color:var(--vkui--color_field_border_alpha--hover);z-index:var(--vkui_internal--z_index_form_field_border_hover)}.vkuiInternalNativeSelect .vkuiFormField__after{pointer-events:none}.vkuiInternalCalendarHeader__picker .vkuiFormField__after{min-width:12px;padding-right:8px}.vkuiInternalFormLayoutGroup--segmented .vkuiFormField{border-radius:0;isolation:auto;z-index:auto}.vkuiInternalFormLayoutGroup--segmented.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiInternalFormItem:first-of-type .vkuiFormField{border-bottom-left-radius:var(--vkui--size_border_radius--regular);border-top-left-radius:var(--vkui--size_border_radius--regular)}.vkuiInternalFormLayoutGroup--segmented.vkuiInternalFormLayoutGroup--mode-horizontal .vkuiInternalFormItem:last-of-type .vkuiFormField{border-bottom-right-radius:var(--vkui--size_border_radius--regular);border-top-right-radius:var(--vkui--size_border_radius--regular)}.vkuiInternalFormLayoutGroup--segmented.vkuiInternalFormLayoutGroup--mode-vertical .vkuiInternalFormItem:first-of-type .vkuiFormField{border-top-left-radius:var(--vkui--size_border_radius--regular);border-top-right-radius:var(--vkui--size_border_radius--regular)}.vkuiInternalFormLayoutGroup--segmented.vkuiInternalFormLayoutGroup--mode-vertical .vkuiInternalFormItem:last-of-type .vkuiFormField{border-bottom-left-radius:var(--vkui--size_border_radius--regular);border-bottom-right-radius:var(--vkui--size_border_radius--regular)}.vkuiFormField--focus-visible.vkuiFormField--focus-visible .vkuiFormField__border{border-color:var(--vkui--color_stroke_accent)}.vkuiFormLayoutGroup--mode-horizontal{align-items:flex-start;display:flex;flex-wrap:wrap;padding:var(--vkui--size_form_item_padding_vertical--regular) var(--vkui--size_base_padding_horizontal--regular)}.vkuiFormLayoutGroup__removable{flex-grow:1;max-width:100%;min-width:0}.vkuiFormLayoutGroup__offset{display:none}.vkuiFormLayoutGroup--mode-horizontal .vkuiInternalFormItem--withTop~.vkuiFormLayoutGroup__offset{display:block;height:calc(2px + var(--vkui--font_subhead--line_height--regular) + 8px);min-width:100%;order:-1}.vkuiFormLayoutGroup--sizeY-compact.vkuiFormLayoutGroup--mode-horizontal .vkuiInternalFormItem--withTop~.vkuiFormLayoutGroup__offset{height:calc(2px + var(--vkui--font_subhead--line_height--compact) + 6px)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiFormLayoutGroup--sizeY-none.vkuiFormLayoutGroup--mode-horizontal .vkuiInternalFormItem--withTop~.vkuiFormLayoutGroup__offset{height:calc(2px + var(--vkui--font_subhead--line_height--compact) + 6px)}}.vkuiFormLayoutGroup--removable{padding-left:0;padding-right:0}.vkuiFormLayoutGroup--segmented{position:relative}.vkuiFormStatus--mode-error{color:var(--vkui--color_background_negative)}.vkuiSwitch{cursor:pointer;display:block;padding:calc((var(--vkui--size_switch_pin--regular) - var(--vkui--size_switch_height--regular)) / 2);position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiSwitch--sizeY-compact{padding:calc((var(--vkui--size_switch_pin--compact) - var(--vkui--size_switch_height--compact)) / 2)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSwitch--sizeY-none{padding:calc((var(--vkui--size_switch_pin--compact) - var(--vkui--size_switch_height--compact)) / 2)}}.vkuiSwitch--disabled{cursor:default}.vkuiSwitch__pseudo{box-sizing:border-box;display:block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}.vkuiSwitch__pseudo:before{background:var(--vkui--color_icon_contrast_secondary);border-radius:50%;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 2px rgba(0,0,0,.24);box-sizing:border-box;content:"";height:var(--vkui--size_switch_pin--regular);left:calc((var(--vkui--size_switch_height--regular) - var(--vkui--size_switch_pin--regular)) / 2);position:absolute;top:calc((var(--vkui--size_switch_height--regular) - var(--vkui--size_switch_pin--regular)) / 2);width:var(--vkui--size_switch_pin--regular)}.vkuiSwitch--sizeY-compact .vkuiSwitch__pseudo:before{height:var(--vkui--size_switch_pin--compact);left:calc((var(--vkui--size_switch_height--compact) - var(--vkui--size_switch_pin--compact)) / 2);top:calc((var(--vkui--size_switch_height--compact) - var(--vkui--size_switch_pin--compact)) / 2);width:var(--vkui--size_switch_pin--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSwitch--sizeY-none .vkuiSwitch__pseudo:before{height:var(--vkui--size_switch_pin--compact);left:calc((var(--vkui--size_switch_height--compact) - var(--vkui--size_switch_pin--compact)) / 2);top:calc((var(--vkui--size_switch_height--compact) - var(--vkui--size_switch_pin--compact)) / 2);width:var(--vkui--size_switch_pin--compact)}}.vkuiSwitch__self:checked+.vkuiSwitch__pseudo:before{background:var(--vkui--color_icon_accent);transform:translate(calc(var(--vkui--size_switch_width--regular) - var(--vkui--size_switch_height--regular)))}.vkuiSwitch__pseudo:after{background:var(--vkui--color_icon_tertiary_alpha);border-radius:calc(var(--vkui--size_switch_width--regular) / 2);content:"";display:block;height:var(--vkui--size_switch_height--regular);width:var(--vkui--size_switch_width--regular)}.vkuiSwitch--sizeY-compact .vkuiSwitch__pseudo:after{border-radius:calc(var(--vkui--size_switch_width--compact) / 2);height:var(--vkui--size_switch_height--compact);width:var(--vkui--size_switch_width--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSwitch--sizeY-none .vkuiSwitch__pseudo:after{border-radius:calc(var(--vkui--size_switch_width--compact) / 2);height:var(--vkui--size_switch_height--compact);width:var(--vkui--size_switch_width--compact)}}.vkuiSwitch__self:checked+.vkuiSwitch__pseudo:after{background:var(--vkui--color_icon_accent);opacity:.48}.vkuiSwitch--sizeY-compact .vkuiSwitch__self:checked+.vkuiSwitch__pseudo:before{transform:translate(calc(var(--vkui--size_switch_width--compact) - var(--vkui--size_switch_height--compact)))}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSwitch--sizeY-none .vkuiSwitch__self:checked+.vkuiSwitch__pseudo:before{transform:translate(calc(var(--vkui--size_switch_width--compact) - var(--vkui--size_switch_height--compact)))}}.vkuiSwitch__self[disabled]+.vkuiSwitch__pseudo{opacity:var(--vkui--opacity_disable)}.vkuiSwitch--ios .vkuiSwitch__pseudo:before{background:var(--vkui_internal--white);box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06),inset 0 0 0 .5px rgba(0,0,0,.04)}.vkuiSwitch--ios .vkuiSwitch__self:checked+.vkuiSwitch__pseudo:before{background:var(--vkui_internal--white)}.vkuiSwitch--ios .vkuiSwitch__pseudo:after{background:var(--vkui--color_track_background)}.vkuiSwitch--ios .vkuiSwitch__self:checked+.vkuiSwitch__pseudo:after{opacity:1}@media (prefers-reduced-motion:no-preference){.vkuiSwitch__pseudo:after{transition:background-color .1s ease}.vkuiSwitch__pseudo:before{transition:transform .1s ease}.vkuiSwitch--ios .vkuiSwitch__pseudo:after{transition:background-color .2s ease}.vkuiSwitch--ios .vkuiSwitch__pseudo:before{transition:transform .2s cubic-bezier(.36,-.24,.26,1.32)}}.vkuiInternalSimpleCell__after>.vkuiSwitch{margin-left:12px}.vkuiInput{font-size:16px;line-height:20px;position:relative}.vkuiInput--align-center .vkuiInput__el{text-align:center}.vkuiInput--align-right .vkuiInput__el{text-align:right}.vkuiInput__el{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:inherit;box-shadow:none;box-sizing:border-box;color:var(--vkui--color_text_primary);height:var(--vkui--size_field_height--regular);margin:0;padding:0 12px;position:relative;width:100%;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiInput__el::-webkit-inner-spin-button,.vkuiInput__el::-webkit-outer-spin-button{-webkit-appearance:none}.vkuiInput__el[type=number]{-moz-appearance:textfield}.vkuiInput--sizeY-compact .vkuiInput__el{height:var(--vkui--size_field_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiInput--sizeY-none .vkuiInput__el{height:var(--vkui--size_field_height--compact)}}.vkuiInput--hasBefore .vkuiInput__el{padding-left:0}.vkuiInput--hasAfter .vkuiInput__el{padding-right:0}.vkuiInput__el:disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiInput__el::-ms-input-placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiInput__el::placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiInput__el:disabled::-ms-input-placeholder{color:var(--vkui--color_text_secondary)}.vkuiInput__el:disabled::placeholder{color:var(--vkui--color_text_secondary)}.vkuiChip{align-items:center;background:var(--vkui--color_background_content);border:var(--vkui--size_border--regular) solid var(--vkui--color_image_border_alpha);border-radius:6px;box-sizing:border-box;display:inline-flex;height:32px}.vkuiChip__in,.vkuiChip__removable{align-items:center;border-radius:inherit;display:flex;height:100%;position:relative}.vkuiChip__in{overflow:hidden;padding-left:8px}.vkuiChip__in:last-of-type{padding-right:8px}.vkuiChip__content{color:var(--vkui--color_text_primary);display:inline-block;font-family:var(--vkui--font_paragraph--font_family--regular);font-size:var(--vkui--font_paragraph--font_size--regular);font-weight:var(--vkui--font_paragraph--font_weight--regular);line-height:var(--vkui--font_paragraph--line_height--regular);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiChip--sizeY-compact .vkuiChip__content{font-family:var(--vkui--font_footnote--font_family--regular);font-size:var(--vkui--font_footnote--font_size--regular);font-weight:var(--vkui--font_footnote--font_weight--regular);line-height:var(--vkui--font_footnote--line_height--regular)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiChip--sizeY-none .vkuiChip__content{font-family:var(--vkui--font_footnote--font_family--regular);font-size:var(--vkui--font_footnote--font_size--regular);font-weight:var(--vkui--font_footnote--font_weight--regular);line-height:var(--vkui--font_footnote--line_height--regular)}}.vkuiChip__removable{flex-grow:0;flex-shrink:0}.vkuiChip__remove{background:transparent;border:0;border-radius:inherit;box-sizing:border-box;color:var(--vkui--color_icon_secondary);cursor:pointer;flex:0 0 100%;padding:5px;transform:translate(-1px)}.vkuiChip__before{margin-right:6px}.vkuiChip__after{margin-left:6px}.vkuiChip--sizeY-compact{height:28px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiChip--sizeY-none{height:28px}}.vkuiChipsInputBase{--vkui_internal--chips_input_base_container_gap:4px;display:flex;flex-grow:1;flex-shrink:1;flex-wrap:wrap;list-style:none;margin:0;max-width:100%;overflow:hidden;padding:var(--vkui_internal--chips_input_base_container_gap);position:relative;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiChipsInputBase__chip{margin:2px;max-width:calc(100% - var(--vkui_internal--chips_input_base_container_gap))}.vkuiChipsInputBase__el{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;box-shadow:none;color:var(--vkui--color_text_primary);flex:1;margin:2px 2px 4px 10px;padding:0;position:relative;width:100%}.vkuiChipsInputBase__el:not(:-moz-read-only):focus{min-width:64px}.vkuiChipsInputBase__el:not(:read-only):focus{min-width:64px}.vkuiChipsInputBase__el::-ms-clear{display:none}.vkuiChipsInputBase__el:disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiChipsInputBase__el::-ms-input-placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiChipsInputBase__el::placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiChipsInputBase__el:disabled::-ms-input-placeholder{color:var(--vkui--color_text_secondary)}.vkuiChipsInputBase__el:disabled::placeholder{color:var(--vkui--color_text_secondary)}.vkuiChipsInputBase__el[readonly]{cursor:default}.vkuiChipsInputBase--hasPlaceholder .vkuiChipsInputBase__el{margin-left:calc(12px - var(--vkui_internal--chips_input_base_container_gap));margin-right:0;text-overflow:ellipsis;white-space:nowrap}.vkuiChipsInputBase--sizeY-compact{--vkui_internal--chips_input_base_container_gap:2px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiChipsInputBase--sizeY-none{--vkui_internal--chips_input_base_container_gap:2px}}.vkuiChipsSelect{position:relative}.vkuiChipsSelect__empty{color:var(--vkui--color_text_secondary);padding:12px 0;text-align:center}.vkuiChipsSelect--pop-down{border-bottom-left-radius:0;border-bottom-right-radius:0}.vkuiChipsSelect--pop-up{border-top-left-radius:0;border-top-right-radius:0}.vkuiCustomSelectOption{align-items:center;box-sizing:border-box;color:var(--vkui--color_text_primary);cursor:pointer;display:flex;padding:8px 12px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.vkuiCustomSelectOption--hierarchy{--vkui_internal--custom_select_option_hierarchy_level:0;padding-left:calc(var(--vkui_internal--custom_select_option_hierarchy_level) * var(--vkui--size_option_hierarchy--regular))}.vkuiCustomSelectOption--sizeY-regular{min-height:44px}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiCustomSelectOption--sizeY-none{min-height:44px}}.vkuiCustomSelectOption--disabled{cursor:default;opacity:var(--vkui--opacity_disable_accessibility)}.vkuiCustomSelectOption--hover{background-color:var(--vkui--color_transparent--hover)}.vkuiCustomSelectOption__before{flex-shrink:0;margin-right:7px}.vkuiCustomSelectOption__main{flex-grow:1;max-width:100%;min-width:0}.vkuiCustomSelectOption__children{min-width:0}.vkuiCustomSelectOption__after{align-items:center;display:flex;flex-shrink:0;margin-left:8px}.vkuiCustomSelectOption__description{color:var(--vkui--color_text_secondary)}.vkuiCustomSelectOption__selectedIcon{color:var(--vkui--color_icon_accent)}.vkuiCustomSelectOption__selectedIcon:not(:first-child){margin-left:8px}.vkuiCustomSelectDropdown{background-color:var(--vkui--color_background_modal);border:var(--vkui--size_border--regular) solid var(--vkui--color_field_border_alpha);border-radius:8px;box-shadow:var(--vkui--elevation1);box-sizing:border-box;overflow:hidden}.vkuiCustomSelectDropdown--wide{width:100%}.vkuiCustomSelectDropdown--bottom{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.vkuiCustomSelectDropdown--top{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:100%;box-shadow:var(--vkui--elevation1_invert_y)}.vkuiCustomSelectDropdown__fetching{padding:12px 0}.vkuiCustomSelectDropdown__in--withMaxHeight{max-height:160px}.vkuiInternalCalendarHeader__pickers .vkuiCustomSelectDropdown__in--withMaxHeight{max-height:184px}.vkuiCustomScrollView{height:100%;overflow:hidden;position:relative;width:100%}.vkuiCustomScrollView__box{height:100%;max-height:inherit;overflow-x:hidden;overflow-y:scroll;padding-right:100px;position:relative;width:100%}.vkuiCustomScrollView__barY:active+.vkuiCustomScrollView__box{pointer-events:none}.vkuiCustomScrollView__barY{height:100%;position:absolute;right:0;top:0;width:10px}.vkuiCustomScrollView__trackerY{box-sizing:border-box;left:0;padding:4px 4px 4px 0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:10px}.vkuiCustomScrollView__trackerY--hidden{opacity:0;transition:opacity .2s}.vkuiCustomScrollView__trackerY:before{background-color:var(--vkui--color_icon_medium);border-radius:12px;content:"";display:block;height:100%;opacity:.48;transition:transform .2s,opacity .2s;width:100%}.vkuiCustomScrollView__trackerY:active:before,.vkuiCustomScrollView__trackerY:hover:before{opacity:.8;transform:scaleX(1.3333)}.vkuiInternalCustomSelectDropdown .vkuiCustomScrollView__box{padding-right:8px}.vkuiInternalCustomSelectDropdown--wide .vkuiCustomScrollView__box{padding-right:0}.vkuiCustomScrollView--hasPointer-true .vkuiCustomScrollView__box{scrollbar-width:none}.vkuiCustomScrollView--hasPointer-true .vkuiCustomScrollView__box::-webkit-scrollbar{display:none}@media (pointer:fine){.vkuiCustomScrollView--hasPointer-none .vkuiCustomScrollView__box{scrollbar-width:none}.vkuiCustomScrollView--hasPointer-none .vkuiCustomScrollView__box::-webkit-scrollbar{display:none}}.vkuiCustomScrollView--hasPointer-false .vkuiCustomScrollView__barY{display:none}@media (pointer:coarse),(pointer:none){.vkuiCustomScrollView--hasPointer-none .vkuiCustomScrollView__barY{display:none}}.vkuiSlider{cursor:pointer;height:var(--vkui_internal--slider_thumb_size);position:relative}.vkuiSlider--disabled{cursor:not-allowed;opacity:var(--vkui--opacity_disable_accessibility)}.vkuiSlider__track,.vkuiSlider__track-fill{border-radius:1px;height:2px;left:0;position:absolute;top:50%}.vkuiSlider__track{background-color:var(--vkui--color_track_background);width:100%}.vkuiSlider__track-fill{background:var(--vkui--color_background_accent);width:auto}.vkuiSlider__thumbs{height:100%;isolation:isolate;margin-left:calc(var(--vkui_internal--slider_thumb_size) / 2);margin-right:calc(var(--vkui_internal--slider_thumb_size) / 2);position:relative}.vkuiSlider__thumb{top:50%;transform:translate(-50%,-50%)}.vkuiSlider--sizeY-compact{--vkui_internal--slider_thumb_size:24px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSlider--sizeY-none{--vkui_internal--slider_thumb_size:24px}}.vkuiSliderThumb{background:var(--vkui--color_background_contrast);border:var(--vkui--size_border--regular) solid var(--vkui--color_separator_primary_alpha);border-radius:50%;box-shadow:var(--vkui--elevation3);height:var(--vkui_internal--slider_thumb_size);position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:var(--vkui_internal--slider_thumb_size);z-index:1}.vkuiSliderThumb--focus-visible{outline:var(--vkui_internal--outline);outline-offset:calc(-1 * var(--vkui--size_border--regular));z-index:2}.vkuiSliderThumb__nativeInput{border:0;direction:ltr;height:100%;margin:-1px;padding:0;position:absolute;width:100%;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.vkuiTextarea{position:relative}.vkuiTextarea__el{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;box-sizing:border-box;color:var(--vkui--color_text_primary);display:block;margin:0;max-height:204px;padding:12px;position:relative;resize:none;width:100%;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiTextarea__el[cols]{width:auto}.vkuiTextarea--sizeY-compact .vkuiTextarea__el{max-height:196px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiTextarea--sizeY-none .vkuiTextarea__el{max-height:196px}}.vkuiTextarea__el::-ms-input-placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiTextarea__el::placeholder{color:var(--vkui--color_text_secondary);opacity:1}.vkuiTextarea__el:disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiTextarea__el:disabled::-ms-input-placeholder{color:var(--vkui--color_text_secondary)}.vkuiTextarea__el:disabled::placeholder{color:var(--vkui--color_text_secondary)}.vkuiRadio{display:block;font-family:var(--vkui--font_family_base);padding-bottom:0;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:0}.vkuiInternalFormItem .vkuiRadio{box-sizing:initial;margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0;width:100%}.vkuiRadio__container{align-items:center;display:flex;justify-content:flex-start}.vkuiRadio__input:disabled~.vkuiRadio__container{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiRadio__icon{color:var(--vkui--color_icon_tertiary);flex-shrink:0;height:22px;margin-right:14px;transition:color .15s var(--vkui--animation_easing_platform);width:22px}.vkuiRadio__input:checked~.vkuiRadio__container .vkuiRadio__icon{color:var(--vkui--color_icon_accent)}.vkuiRadio__icon .vkuiRadio__pin{transform:scale(0);transform-origin:12px 12px;transition:transform .15s var(--vkui--animation_easing_platform)}.vkuiRadio__input:checked~.vkuiRadio__container .vkuiRadio__icon .vkuiRadio__pin{transform:none}.vkuiRadio__content{color:var(--vkui--color_text_primary);display:block;flex-grow:1;max-width:100%}.vkuiRadio__description{color:var(--vkui--color_text_secondary);display:block;margin-bottom:12px;margin-top:2px}.vkuiRadio__title{align-items:center;display:flex;justify-content:space-between;margin-top:12px}.vkuiRadio__title:last-child{margin-bottom:12px}.vkuiRadio__titleAfter{color:var(--vkui--color_icon_tertiary);margin-left:4px}.vkuiRadio--sizeY-compact .vkuiRadio__title{margin-top:8px}.vkuiRadio--sizeY-compact .vkuiRadio__title:last-child{margin-bottom:8px}.vkuiRadio--sizeY-compact .vkuiRadio__description{margin-bottom:7px}.vkuiRadio--sizeY-compact .vkuiRadio__icon{height:18px;width:18px}.vkuiRadio--sizeY-compact .vkuiRadio__icon:after{height:12px;width:12px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiRadio--sizeY-none .vkuiRadio__title{margin-top:8px}.vkuiRadio--sizeY-none .vkuiRadio__title:last-child{margin-bottom:8px}.vkuiRadio--sizeY-none .vkuiRadio__description{margin-bottom:7px}.vkuiRadio--sizeY-none .vkuiRadio__icon{height:18px;width:18px}.vkuiRadio--sizeY-none .vkuiRadio__icon:after{height:12px;width:12px}}.vkuiInternalRadioGroup .vkuiRadio{box-sizing:border-box;flex:1;margin:0}.vkuiRadioGroup--mode-horizontal{display:flex}.vkuiInternalFormItem .vkuiRadioGroup{box-sizing:initial;margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0}.vkuiCheckbox{align-items:center;display:flex;font-family:var(--vkui--font_family_base);justify-content:flex-start;min-height:var(--vkui--size_field_height--regular);min-width:var(--vkui--size_field_height--regular);padding-bottom:0;padding-left:var(--vkui--size_base_padding_horizontal--regular);padding-right:var(--vkui--size_base_padding_horizontal--regular);padding-top:0}.vkuiInternalFormItem .vkuiCheckbox{box-sizing:initial;margin-bottom:0;margin-left:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-right:calc(-1 * var(--vkui--size_base_padding_horizontal--regular));margin-top:0;width:100%}.vkuiCheckbox__icon{flex-shrink:0;margin-right:12px}.vkuiCheckbox__icon--indeterminate,.vkuiCheckbox__icon--on{color:var(--vkui--color_icon_accent);display:none}.vkuiCheckbox__icon--off{color:var(--vkui--color_icon_tertiary)}.vkuiCheckbox__content{color:var(--vkui--color_text_primary);flex-grow:1;min-width:0;word-break:break-word}.vkuiCheckbox__description{color:var(--vkui--color_text_secondary);display:block;margin-bottom:12px;margin-top:2px}.vkuiCheckbox__title{align-items:center;display:flex;justify-content:space-between;margin-top:12px}.vkuiCheckbox__title:last-child{margin-bottom:12px}.vkuiCheckbox__titleBefore{min-width:0}.vkuiCheckbox__titleAfter{color:var(--vkui--color_icon_tertiary);flex-shrink:0;margin-left:4px}.vkuiCheckbox__input:checked~.vkuiCheckbox__icon--on{display:flex}.vkuiCheckbox__input:checked~.vkuiCheckbox__icon--off,.vkuiCheckbox__input:indeterminate~.vkuiCheckbox__icon--indeterminate{display:none}.vkuiCheckbox__input:indeterminate~.vkuiCheckbox__icon--indeterminate{display:flex}.vkuiCheckbox__input:indeterminate~.vkuiCheckbox__icon--off,.vkuiCheckbox__input:indeterminate~.vkuiCheckbox__icon--on{display:none}.vkuiCheckbox__input[disabled]~*{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiCheckbox--simple{align-items:center;border-radius:50%;display:flex;height:var(--vkui--size_field_height--regular);justify-content:center;padding:0;width:var(--vkui--size_field_height--regular)}.vkuiCheckbox--simple .vkuiCheckbox__content{display:none}.vkuiCheckbox--simple .vkuiCheckbox__icon{margin:0}.vkuiCheckbox--sizeY-compact{min-height:var(--vkui--size_field_height--compact);min-width:var(--vkui--size_field_height--compact)}.vkuiCheckbox--sizeY-compact.vkuiCheckbox--simple{height:var(--vkui--size_field_height--compact);width:var(--vkui--size_field_height--compact)}.vkuiCheckbox--sizeY-compact .vkuiCheckbox__title{margin-top:8px}.vkuiCheckbox--sizeY-compact .vkuiCheckbox__description,.vkuiCheckbox--sizeY-compact .vkuiCheckbox__title:last-child{margin-bottom:8px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiCheckbox--sizeY-none{min-height:var(--vkui--size_field_height--compact);min-width:var(--vkui--size_field_height--compact)}.vkuiCheckbox--sizeY-none.vkuiCheckbox--simple{height:var(--vkui--size_field_height--compact);width:var(--vkui--size_field_height--compact)}.vkuiCheckbox--sizeY-none .vkuiCheckbox__title{margin-top:8px}.vkuiCheckbox--sizeY-none .vkuiCheckbox__description,.vkuiCheckbox--sizeY-none .vkuiCheckbox__title:last-child{margin-bottom:8px}}.vkuiCustomSelect{cursor:pointer;display:block;position:relative;width:100%}.vkuiCustomSelect--pop-down{border-bottom-left-radius:0;border-bottom-right-radius:0}.vkuiCustomSelect--pop-up{border-top-left-radius:0;border-top-right-radius:0}.vkuiCustomSelect__control{display:none}.vkuiCustomSelect__empty{color:var(--vkui--color_text_secondary);padding:12px 0;text-align:center}.vkuiCustomSelect__fetching{align-items:center;display:flex;justify-content:center}.vkuiCustomSelect__dropdown-icon{margin-right:10px}.vkuiCustomSelect--clear-icon{margin-right:-6px}.vkuiCustomSelect--sizeY-compact .vkuiCustomSelect__dropdown-icon{margin-right:8px}.vkuiCustomSelect--sizeY-compact .vkuiCustomSelect--clear-icon{margin-right:-2px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiCustomSelect--sizeY-none .vkuiCustomSelect__dropdown-icon{margin-right:8px}.vkuiCustomSelect--sizeY-none .vkuiCustomSelect--clear-icon{margin-right:-2px}}.vkuiCustomSelectInput{position:relative}.vkuiCustomSelectInput__el{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:inherit;box-shadow:none;box-sizing:border-box;color:var(--vkui--color_text_primary);height:var(--vkui--size_field_height--regular);left:0;line-height:var(--vkui--size_field_height--regular);margin:0;padding:0 12px;position:absolute;top:0;width:100%;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiCustomSelectInput__el--cursor-pointer{cursor:pointer}.vkuiCustomSelectInput--sizeY-compact .vkuiCustomSelectInput__el{height:var(--vkui--size_field_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiCustomSelectInput--sizeY-none .vkuiCustomSelectInput__el{height:var(--vkui--size_field_height--compact)}}.vkuiCustomSelectInput--hasBefore .vkuiCustomSelectInput__el{padding-left:0}.vkuiCustomSelectInput--hasAfter .vkuiCustomSelectInput__el{padding-right:0}.vkuiCustomSelectInput__el:disabled{opacity:var(--vkui--opacity_disable_accessibility)}.vkuiCustomSelectInput__container{box-sizing:border-box;color:var(--vkui--color_text_primary);max-height:100%;overflow:hidden;padding-left:12px;padding-right:0;pointer-events:none;width:100%;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiCustomSelectInput--hasBefore .vkuiCustomSelectInput__container{padding-left:0}.vkuiCustomSelectInput--multiline .vkuiCustomSelectInput__container{padding-bottom:12px;padding-top:12px}.vkuiCustomSelectInput--sizeY-compact.vkuiCustomSelectInput--multiline .vkuiCustomSelectInput__container{padding-bottom:8px;padding-top:8px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiCustomSelectInput--sizeY-none.vkuiCustomSelectInput--multiline .vkuiCustomSelectInput__container{padding-bottom:8px;padding-top:8px}}.vkuiCustomSelectInput__input-group{align-items:center;align-self:stretch;display:flex;flex:1;overflow:hidden;position:relative}.vkuiCustomSelectInput--hasBefore .vkuiCustomSelectInput__input-group{border-radius:0}.vkuiCustomSelectInput__title{display:block}.vkuiCustomSelectInput:not(.vkuiCustomSelectInput--multiline) .vkuiCustomSelectInput__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiCustomSelectInput--empty .vkuiCustomSelectInput__title{color:var(--vkui--color_text_secondary)}.vkuiCustomSelectInput__el::-ms-input-placeholder{opacity:0}.vkuiCustomSelectInput__el::placeholder{opacity:0}.vkuiCustomSelectInput--align-right .vkuiCustomSelectInput__el,.vkuiCustomSelectInput--align-right .vkuiCustomSelectInput__title{text-align:right}.vkuiCustomSelectInput--align-center .vkuiCustomSelectInput__el,.vkuiCustomSelectInput--align-center .vkuiCustomSelectInput__title{text-align:center}.vkuiInternalCalendarHeader__picker .vkuiCustomSelectInput__container{padding-right:4px}.vkuiSelect{box-sizing:border-box;cursor:pointer;font-family:var(--vkui--font_family_base);position:relative}.vkuiSelect__el{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;display:block;font-family:inherit;font-size:var(--vkui--font_paragraph--font_size--regular);height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:var(--vkui_internal--z_index_form_field_side)}.vkuiSelect__container{box-sizing:border-box;color:var(--vkui--color_text_primary);flex-grow:1;flex-shrink:1;overflow:hidden;padding-left:12px;padding-right:0;position:relative;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiSelect--hasBefore .vkuiSelect__container{padding-left:0}.vkuiSelect--multiline .vkuiSelect__container{padding-bottom:12px;padding-top:12px}.vkuiSelect--sizeY-compact.vkuiSelect--multiline .vkuiSelect__container{padding-bottom:8px;padding-top:8px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiSelect--sizeY-none.vkuiSelect--multiline .vkuiSelect__container{padding-bottom:8px;padding-top:8px}}.vkuiSelect__title{display:block}.vkuiSelect:not(.vkuiSelect--multiline) .vkuiSelect__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vkuiSelect--empty .vkuiSelect__title{color:var(--vkui--color_text_secondary)}.vkuiSelect--align-right .vkuiSelect__title{text-align:right}.vkuiSelect--align-center .vkuiSelect__title{text-align:center}.vkuiInternalCalendarHeader__picker .vkuiSelect__container{padding-right:4px}.vkuiDatePicker{border:0;margin:0;padding:0}.vkuiDatePicker__container{display:flex;flex-direction:row;width:100%}.vkuiDatePicker__day{min-width:72px}.vkuiDatePicker__month{display:flex;flex:1 0 0;min-width:0;padding:0 8px}.vkuiDatePicker__year{min-width:92px}.vkuiDatePicker__monthSelect{width:100%}.vkuiSegmentedControl{background-color:var(--vkui--color_background_secondary);border-radius:var(--vkui--size_border_radius--regular);box-sizing:border-box;font-family:var(--vkui--font_family_base);height:30px;padding:2px}.vkuiSegmentedControl--size-l{height:36px}.vkuiSegmentedControl__in{border-radius:inherit;display:flex;height:100%;position:relative;transition:all .1s ease-out;width:100%}.vkuiSegmentedControl__slider{background-color:var(--vkui--color_segmented_control);border-radius:inherit;bottom:0;box-shadow:inset 0 0 0 .5px var(--vkui--color_image_border_alpha),0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04);left:0;position:absolute;top:0;transform-origin:0 0;transition:transform .15s}.vkuiSegmentedControl--sizeY-regular{height:36px}.vkuiSegmentedControl--sizeY-regular.vkuiSegmentedControl--size-l{height:44px}@media (max-width:767.9px) and (min-height:415px),(pointer:coarse) and (min-height:415px),(pointer:none) and (min-height:415px){.vkuiSegmentedControl--sizeY-none{height:36px}.vkuiSegmentedControl--sizeY-none.vkuiSegmentedControl--size-l{height:44px}}.vkuiSegmentedControlOption{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:inherit;box-sizing:border-box;color:var(--vkui--color_text_primary);cursor:pointer;display:flex;flex:1;height:100%;justify-content:center;position:relative;transition:color .1s ease-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vkuiSegmentedControlOption:hover{opacity:.5}.vkuiSegmentedControlOption__before{margin-right:6px}.vkuiCalendar{background:var(--vkui--color_background_modal);border:.5px solid var(--vkui--color_separator_primary);border-radius:8px;box-shadow:var(--vkui--elevation1);box-sizing:border-box;display:flex;flex-direction:column;padding:12px;width:305px}.vkuiCalendar__time{border-top:1px solid var(--vkui--color_separator_primary);margin:12px -12px 0;padding:12px 12px 0}.vkuiCalendar__header{margin-bottom:4px}.vkuiCalendar--size-s{padding:8px;width:220px}.vkuiCalendar--size-s .vkuiCalendar__header{margin-bottom:0}.vkuiCalendarHeader{align-items:center;display:flex;justify-content:center;min-height:36px;position:relative}.vkuiCalendarHeader__pickers{color:var(--vkui--color_text_primary);display:flex;position:absolute}.vkuiCalendarHeader__picker+.vkuiCalendarHeader__picker{margin-left:4px}.vkuiCalendarHeader__nav-icon{align-items:center;display:flex;justify-content:center;padding:3px;position:absolute}.vkuiCalendarHeader__nav-icon--accent{color:var(--vkui--color_icon_accent)}.vkuiCalendarHeader__nav-icon-next{right:0}.vkuiCalendarHeader__nav-icon-prev{left:0}.vkuiCalendarHeader__month{text-transform:capitalize}.vkuiCalendarDays{display:flex;flex-direction:column;flex-grow:1;justify-content:space-around}.vkuiCalendarDays__row{display:flex;flex-grow:1;justify-content:center}.vkuiCalendarDays__row:not(:last-child){margin-bottom:4px}.vkuiCalendarDays__row--size-s:not(:last-child){margin-bottom:0}.vkuiCalendarDays__weekday{align-items:center;color:var(--vkui--color_text_subhead);display:flex;flex-basis:calc(100% / 7);flex-grow:0;height:32px;justify-content:center;text-transform:capitalize}.vkuiCalendarDay{border-radius:0;color:var(--vkui--color_text_primary);font-family:var(--vkui--font_family_base);font-size:14px}.vkuiCalendarDay,.vkuiCalendarDay__hidden{flex-basis:calc(100% / 7);flex-grow:0;height:36px}.vkuiCalendarDay--size-s,.vkuiCalendarDay__hidden--size-s{height:34px}.vkuiCalendarDay--disabled,.vkuiCalendarDay--not-same-month{color:var(--vkui--color_text_tertiary)}.vkuiCalendarDay--selected{background-color:var(--vkui--color_background_secondary)}.vkuiCalendarDay--selection-start.vkuiCalendarDay--selected,.vkuiCalendarDay__hinted--selection-start{border-bottom-left-radius:8px;border-top-left-radius:8px}.vkuiCalendarDay--selection-end.vkuiCalendarDay--selected,.vkuiCalendarDay__hinted--selection-end{border-bottom-right-radius:8px;border-top-right-radius:8px}.vkuiCalendarDay__day-number{text-align:center}.vkuiCalendarDay--today{font-weight:600}.vkuiCalendarDay--today .vkuiCalendarDay__day-number:after{border-bottom:2px solid var(--vkui--color_stroke_accent);content:"";display:block;left:50%;position:relative;transform:translate(-50%);width:16px}.vkuiCalendarDay--today .vkuiCalendarDay__inner--active .vkuiCalendarDay__day-number:after{border-bottom-color:var(--vkui--color_stroke_contrast)}.vkuiCalendarDay__hinted,.vkuiCalendarDay__inner{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.vkuiCalendarDay__inner{border-radius:8px}.vkuiCalendarDay--hover :not(.vkuiCalendarDay__hinted--active) .vkuiCalendarDay__inner,.vkuiCalendarDay__hinted--active{background-color:var(--vkui--color_background_secondary_alpha--hover)}.vkuiCalendarDay__inner--active{background-color:var(--vkui--color_background_accent);color:var(--vkui--color_text_contrast)}.vkuiCalendarTime{align-items:center;display:flex}.vkuiCalendarTime__picker{width:77px}.vkuiCalendarTime__divider{color:var(--vkui--color_text_primary);font-family:var(--vkui--font_family_base);margin-left:6px;margin-right:6px}.vkuiCalendarTime__button{margin-left:auto}.vkuiCalendarRange{background:var(--vkui--color_background_modal);border:.5px solid var(--vkui--color_separator_primary);border-radius:8px;box-shadow:var(--vkui--elevation1);box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-around;padding:12px;width:610px}.vkuiCalendarRange__inner{display:flex;flex-direction:column;flex-grow:1}.vkuiCalendarRange__inner:not(:last-child){margin-right:24px}.vkuiCalendarRange__header{margin-bottom:4px}.vkuiInputLike__mask{font-family:var(--vkui--font_family_base);position:relative}.vkuiInputLike__mask:after{border-bottom:1px solid var(--vkui--color_text_secondary);bottom:0;content:"";height:1px;left:0;position:absolute;width:calc(100% - .1em)}.vkuiInputLike__mask:last-child{margin-right:1px}.vkuiInputLike__divider,.vkuiInputLike__last_character{letter-spacing:1px!important}.vkuiInputLike__divider{color:var(--vkui--color_text_secondary)}.vkuiInputLike--full+.vkuiInputLike__divider{color:var(--vkui--color_text_primary)}.vkuiDateInput__input{cursor:text;flex-grow:1;font-variant-numeric:tabular-nums;margin-left:10px;margin-right:14px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;white-space:nowrap;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiDateInput__input--time-divider{letter-spacing:6px!important}.vkuiDateInput--sizeY-compact .vkuiDateInput__input{margin-right:22px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiDateInput--sizeY-none .vkuiDateInput__input{margin-right:22px}}.vkuiDateRangeInput__input{cursor:text;flex-grow:1;font-variant-numeric:tabular-nums;margin-left:10px;margin-right:14px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;white-space:nowrap;z-index:var(--vkui_internal--z_index_form_field_element)}.vkuiDateRangeInput--sizeY-compact .vkuiDateRangeInput__input{margin-right:22px}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkuiDateRangeInput--sizeY-none .vkuiDateRangeInput__input{margin-right:22px}}.vkuiDiv{padding:var(--vkui--size_base_padding_vertical--regular) var(--vkui--size_base_padding_horizontal--regular)}.vkuiPopover{position:relative}.vkuiPopover:before{bottom:calc(-1 * var(--vkui_internal--popover_safe_zone_padding));content:"";left:calc(-1 * var(--vkui_internal--popover_safe_zone_padding));position:absolute;right:calc(-1 * var(--vkui_internal--popover_safe_zone_padding));top:calc(-1 * var(--vkui_internal--popover_safe_zone_padding))}.vkuiPopover__in{position:relative}.vkuiPopover__in--withStyling{background-color:var(--vkui--color_background_modal);border-radius:var(--vkui--size_border_radius--regular);box-shadow:var(--vkui--elevation3)}.vkui,.vkui>body,.vkui__root{height:100%;margin:0;padding:0}.vkui__root--embedded{overflow-x:hidden}.vkui,.vkui__root--embedded{color-scheme:var(--vkui--colors_scheme)}.vkui>body,.vkui__root--embedded{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;color:var(--vkui--color_text_primary);font-family:var(--vkui--font_family_base)}.vkui--sizeX-regular{background:var(--vkui--color_background)}@media (min-width:768px){.vkui--sizeX-none{background:var(--vkui--color_background)}}.vkui--sizeY-compact{--vkui_internal--panel_header_height:var(--vkui--size_panel_header_height--compact)}@media (max-height:414.9px),(pointer:fine) and (min-width:768px){.vkui--sizeY-none{--vkui_internal--panel_header_height:var(--vkui--size_panel_header_height--compact)}}.vkui--layout-card{background:var(--vkui--color_background)}.vkui--layout-plain{background:var(--vkui--color_background_content)}.vkui--disable-overscroll-behavior{overscroll-behavior-y:none}\n',document.head.appendChild(e);var r={exports:{}},n={},o={exports:{}},a={},l=Symbol.for("react.element"),u=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),p=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,y={};function x(e,t,i){this.props=e,this.context=t,this.refs=y,this.updater=i||g}function w(){}function z(e,t,i){this.props=e,this.context=t,this.refs=y,this.updater=i||g}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=x.prototype;var S=z.prototype=new w;S.constructor=z,b(S,x.prototype),S.isPureReactComponent=!0;var C=Array.isArray,I=Object.prototype.hasOwnProperty,P={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,i){var r,n={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)I.call(t,r)&&!B.hasOwnProperty(r)&&(n[r]=t[r]);var u=arguments.length-2;if(1===u)n.children=i;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];n.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===n[r]&&(n[r]=u[r]);return{$$typeof:l,type:e,key:o,ref:a,props:n,_owner:P.current}}function R(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}var T=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function H(e,t,i,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case l:case u:a=!0}}if(a)return n=n(a=e),e=""===r?"."+A(a,0):r,C(n)?(i="",null!=e&&(i=e.replace(T,"$&/")+"/"),H(n,t,i,"",(function(e){return e}))):null!=n&&(R(n)&&(n=function(e,t){return{$$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(n,i+(!n.key||a&&a.key===n.key?"":(""+n.key).replace(T,"$&/")+"/")+e)),t.push(n)),1;if(a=0,r=""===r?".":r+":",C(e))for(var c=0;c<e.length;c++){var s=r+A(o=e[c],c);a+=H(o,t,i,s,n)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),c=0;!(o=e.next()).done;)a+=H(o=o.value,t,i,s=r+A(o,c++),n);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function N(e,t,i){if(null==e)return e;var r=[],n=0;return H(e,r,"","",(function(e){return t.call(i,e,n++)})),r}function M(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},F={transition:null},D={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:F,ReactCurrentOwner:P};a.Children={map:N,forEach:function(e,t,i){N(e,(function(){t.apply(this,arguments)}),i)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},a.Component=x,a.Fragment=c,a.Profiler=d,a.PureComponent=z,a.StrictMode=s,a.Suspense=k,a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,a.cloneElement=function(e,t,i){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=b({},e.props),n=e.key,o=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,a=P.current),void 0!==t.key&&(n=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)I.call(t,c)&&!B.hasOwnProperty(c)&&(r[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)r.children=i;else if(1<c){u=Array(c);for(var s=0;s<c;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:l,type:e.type,key:n,ref:o,props:r,_owner:a}},a.createContext=function(e){return(e={$$typeof:p,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:v,_context:e},e.Consumer=e},a.createElement=E,a.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},a.createRef=function(){return{current:null}},a.forwardRef=function(e){return{$$typeof:_,render:e}},a.isValidElement=R,a.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:M}},a.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},a.startTransition=function(e){var t=F.transition;F.transition={};try{e()}finally{F.transition=t}},a.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},a.useCallback=function(e,t){return L.current.useCallback(e,t)},a.useContext=function(e){return L.current.useContext(e)},a.useDebugValue=function(){},a.useDeferredValue=function(e){return L.current.useDeferredValue(e)},a.useEffect=function(e,t){return L.current.useEffect(e,t)},a.useId=function(){return L.current.useId()},a.useImperativeHandle=function(e,t,i){return L.current.useImperativeHandle(e,t,i)},a.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},a.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},a.useMemo=function(e,t){return L.current.useMemo(e,t)},a.useReducer=function(e,t,i){return L.current.useReducer(e,t,i)},a.useRef=function(e){return L.current.useRef(e)},a.useState=function(e){return L.current.useState(e)},a.useSyncExternalStore=function(e,t,i){return L.current.useSyncExternalStore(e,t,i)},a.useTransition=function(){return L.current.useTransition()},a.version="18.2.0",o.exports=a;var O=o.exports;const W=i(O);
/**
             * @license React
             * react-jsx-runtime.production.min.js
             *
             * Copyright (c) Facebook, Inc. and its affiliates.
             *
             * This source code is licensed under the MIT license found in the
             * LICENSE file in the root directory of this source tree.
             */var V=O,G=Symbol.for("react.element"),Y=Symbol.for("react.fragment"),j=Object.prototype.hasOwnProperty,U=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function K(e,t,i){var r,n={},o=null,a=null;for(r in void 0!==i&&(o=""+i),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(a=t.ref),t)j.call(t,r)&&!X.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:G,type:e,key:o,ref:a,props:n,_owner:U.current}}n.Fragment=Y,n.jsx=K,n.jsxs=K,r.exports=n;var $=r.exports,q={exports:{}},Q={},Z={exports:{}},J={};
/**
             * @license React
             * scheduler.production.min.js
             *
             * Copyright (c) Facebook, Inc. and its affiliates.
             *
             * This source code is licensed under the MIT license found in the
             * LICENSE file in the root directory of this source tree.
             */
!function(e){function t(e,t){var i=e.length;e.push(t);e:for(;0<i;){var r=i-1>>>1,o=e[r];if(!(0<n(o,t)))break e;e[r]=t,e[i]=o,i=r}}function i(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],i=e.pop();if(i!==t){e[0]=i;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,u=e[l],c=l+1,s=e[c];if(0>n(u,i))c<o&&0>n(s,u)?(e[r]=s,e[c]=i,r=c):(e[r]=u,e[l]=i,r=l);else{if(!(c<o&&0>n(s,i)))break e;e[r]=s,e[c]=i,r=c}}}return t}function n(e,t){var i=e.sortIndex-t.sortIndex;return 0!==i?i:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var u=[],c=[],s=1,d=null,v=3,p=!1,_=!1,k=!1,h="function"==typeof setTimeout?setTimeout:null,f="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function g(e){for(var n=i(c);null!==n;){if(null===n.callback)r(c);else{if(!(n.startTime<=e))break;r(c),n.sortIndex=n.expirationTime,t(u,n)}n=i(c)}}function b(e){if(k=!1,g(e),!_)if(null!==i(u))_=!0,T(y);else{var t=i(c);null!==t&&A(b,t.startTime-e)}}function y(t,n){_=!1,k&&(k=!1,f(S),S=-1),p=!0;var o=v;try{for(g(n),d=i(u);null!==d&&(!(d.expirationTime>n)||t&&!P());){var a=d.callback;if("function"==typeof a){d.callback=null,v=d.priorityLevel;var l=a(d.expirationTime<=n);n=e.unstable_now(),"function"==typeof l?d.callback=l:d===i(u)&&r(u),g(n)}else r(u);d=i(u)}if(null!==d)var s=!0;else{var h=i(c);null!==h&&A(b,h.startTime-n),s=!1}return s}finally{d=null,v=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,w=!1,z=null,S=-1,C=5,I=-1;function P(){return!(e.unstable_now()-I<C)}function B(){if(null!==z){var t=e.unstable_now();I=t;var i=!0;try{i=z(!0,t)}finally{i?x():(w=!1,z=null)}}else w=!1}if("function"==typeof m)x=function(){m(B)};else if("undefined"!=typeof MessageChannel){var E=new MessageChannel,R=E.port2;E.port1.onmessage=B,x=function(){R.postMessage(null)}}else x=function(){h(B,0)};function T(e){z=e,w||(w=!0,x())}function A(t,i){S=h((function(){t(e.unstable_now())}),i)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){_||p||(_=!0,T(y))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return i(u)},e.unstable_next=function(e){switch(v){case 1:case 2:case 3:var t=3;break;default:t=v}var i=v;v=t;try{return e()}finally{v=i}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var i=v;v=e;try{return t()}finally{v=i}},e.unstable_scheduleCallback=function(r,n,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:s++,callback:n,priorityLevel:r,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>a?(r.sortIndex=o,t(c,r),null===i(u)&&r===i(c)&&(k?(f(S),S=-1):k=!0,A(b,o-a))):(r.sortIndex=l,t(u,r),_||p||(_=!0,T(y))),r},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var t=v;return function(){var i=v;v=t;try{return e.apply(this,arguments)}finally{v=i}}}}(J),Z.exports=J;var ee=Z.exports,te=O,ie=ee;
/**
             * @license React
             * react-dom.production.min.js
             *
             * Copyright (c) Facebook, Inc. and its affiliates.
             *
             * This source code is licensed under the MIT license found in the
             * LICENSE file in the root directory of this source tree.
             */function re(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ne=new Set,oe={};function ae(e,t){le(e,t),le(e+"Capture",t)}function le(e,t){for(oe[e]=t,e=0;e<t.length;e++)ne.add(t[e])}var ue=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ce=Object.prototype.hasOwnProperty,se=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,de={},ve={};function pe(e,t,i,r,n,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){_e[e]=new pe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];_e[t]=new pe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){_e[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){_e[e]=new pe(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){_e[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){_e[e]=new pe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){_e[e]=new pe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){_e[e]=new pe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){_e[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var ke=/[\-:]([a-z])/g;function he(e){return e[1].toUpperCase()}function fe(e,t,i,r){var n=_e.hasOwnProperty(t)?_e[t]:null;(null!==n?0!==n.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,i,r){if(null==t||function(e,t,i,r){if(null!==i&&0===i.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==i?!i.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,i,r))return!0;if(r)return!1;if(null!==i)switch(i.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,i,n,r)&&(i=null),r||null===n?function(e){return!!ce.call(ve,e)||!ce.call(de,e)&&(se.test(e)?ve[e]=!0:(de[e]=!0,!1))}(t)&&(null===i?e.removeAttribute(t):e.setAttribute(t,""+i)):n.mustUseProperty?e[n.propertyName]=null===i?3!==n.type&&"":i:(t=n.attributeName,r=n.attributeNamespace,null===i?e.removeAttribute(t):(i=3===(n=n.type)||4===n&&!0===i?"":""+i,r?e.setAttributeNS(r,t,i):e.setAttribute(t,i))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(ke,he);_e[t]=new pe(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(ke,he);_e[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(ke,he);_e[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){_e[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)})),_e.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){_e[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var me=te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ge=Symbol.for("react.element"),be=Symbol.for("react.portal"),ye=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),we=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),Se=Symbol.for("react.context"),Ce=Symbol.for("react.forward_ref"),Ie=Symbol.for("react.suspense"),Pe=Symbol.for("react.suspense_list"),Be=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),Re=Symbol.for("react.offscreen"),Te=Symbol.iterator;function Ae(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Te&&e[Te]||e["@@iterator"])?e:null}var He,Ne=Object.assign;function Me(e){if(void 0===He)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);He=t&&t[1]||""}return"\n"+He+e}var Le=!1;function Fe(e,t){if(!e||Le)return"";Le=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(Y){var r=Y}Reflect.construct(e,[],t)}else{try{t.call()}catch(Y){r=Y}e.call(t.prototype)}else{try{throw Error()}catch(Y){r=Y}e()}}catch(Y){if(Y&&r&&"string"==typeof Y.stack){for(var n=Y.stack.split("\n"),o=r.stack.split("\n"),a=n.length-1,l=o.length-1;1<=a&&0<=l&&n[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(n[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||n[a]!==o[l]){var u="\n"+n[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=a&&0<=l);break}}}finally{Le=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Me(e):""}function De(e){switch(e.tag){case 5:return Me(e.type);case 16:return Me("Lazy");case 13:return Me("Suspense");case 19:return Me("SuspenseList");case 0:case 2:case 15:return e=Fe(e.type,!1);case 11:return e=Fe(e.type.render,!1);case 1:return e=Fe(e.type,!0);default:return""}}function Oe(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ye:return"Fragment";case be:return"Portal";case we:return"Profiler";case xe:return"StrictMode";case Ie:return"Suspense";case Pe:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Se:return(e.displayName||"Context")+".Consumer";case ze:return(e._context.displayName||"Context")+".Provider";case Ce:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Be:return null!==(t=e.displayName||null)?t:Oe(e.type)||"Memo";case Ee:t=e._payload,e=e._init;try{return Oe(e(t))}catch(i){}}return null}function We(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Oe(t);case 8:return t===xe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Ve(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ge(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ye(e){e._valueTracker||(e._valueTracker=function(e){var t=Ge(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==i&&"function"==typeof i.get&&"function"==typeof i.set){var n=i.get,o=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function je(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),r="";return e&&(r=Ge(e)?e.checked?"true":"false":e.value),(e=r)!==i&&(t.setValue(e),!0)}function Ue(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Xe(e,t){var i=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=i?i:e._wrapperState.initialChecked})}function Ke(e,t){var i=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;i=Ve(null!=t.value?t.value:i),e._wrapperState={initialChecked:r,initialValue:i,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function $e(e,t){null!=(t=t.checked)&&fe(e,"checked",t,!1)}function qe(e,t){$e(e,t);var i=Ve(t.value),r=t.type;if(null!=i)"number"===r?(0===i&&""===e.value||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ze(e,t.type,i):t.hasOwnProperty("defaultValue")&&Ze(e,t.type,Ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Qe(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}""!==(i=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==i&&(e.name=i)}function Ze(e,t,i){"number"===t&&Ue(e.ownerDocument)===e||(null==i?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Je=Array.isArray;function et(e,t,i,r){if(e=e.options,t){t={};for(var n=0;n<i.length;n++)t["$"+i[n]]=!0;for(i=0;i<e.length;i++)n=t.hasOwnProperty("$"+e[i].value),e[i].selected!==n&&(e[i].selected=n),n&&r&&(e[i].defaultSelected=!0)}else{for(i=""+Ve(i),t=null,n=0;n<e.length;n++){if(e[n].value===i)return e[n].selected=!0,void(r&&(e[n].defaultSelected=!0));null!==t||e[n].disabled||(t=e[n])}null!==t&&(t.selected=!0)}}function tt(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(re(91));return Ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function it(e,t){var i=t.value;if(null==i){if(i=t.children,t=t.defaultValue,null!=i){if(null!=t)throw Error(re(92));if(Je(i)){if(1<i.length)throw Error(re(93));i=i[0]}t=i}null==t&&(t=""),i=t}e._wrapperState={initialValue:Ve(i)}}function rt(e,t){var i=Ve(t.value),r=Ve(t.defaultValue);null!=i&&((i=""+i)!==e.value&&(e.value=i),null==t.defaultValue&&e.defaultValue!==i&&(e.defaultValue=i)),null!=r&&(e.defaultValue=""+r)}function nt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var lt,ut,ct=(ut=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((lt=lt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=lt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,i,r){MSApp.execUnsafeLocalFunction((function(){return ut(e,t)}))}:ut);function st(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&3===i.nodeType)return void(i.nodeValue=t)}e.textContent=t}var dt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vt=["Webkit","ms","Moz","O"];function pt(e,t,i){return null==t||"boolean"==typeof t||""===t?"":i||"number"!=typeof t||0===t||dt.hasOwnProperty(e)&&dt[e]?(""+t).trim():t+"px"}function _t(e,t){for(var i in e=e.style,t)if(t.hasOwnProperty(i)){var r=0===i.indexOf("--"),n=pt(i,t[i],r);"float"===i&&(i="cssFloat"),r?e.setProperty(i,n):e[i]=n}}Object.keys(dt).forEach((function(e){vt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),dt[t]=dt[e]}))}));var kt=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ht(e,t){if(t){if(kt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(re(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(re(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(re(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(re(62))}}function ft(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mt=null;function gt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var bt=null,yt=null,xt=null;function wt(e){if(e=mo(e)){if("function"!=typeof bt)throw Error(re(280));var t=e.stateNode;t&&(t=bo(t),bt(e.stateNode,e.type,t))}}function zt(e){yt?xt?xt.push(e):xt=[e]:yt=e}function St(){if(yt){var e=yt,t=xt;if(xt=yt=null,wt(e),t)for(e=0;e<t.length;e++)wt(t[e])}}function Ct(e,t){return e(t)}function It(){}var Pt=!1;function Bt(e,t,i){if(Pt)return e(t,i);Pt=!0;try{return Ct(e,t,i)}finally{Pt=!1,(null!==yt||null!==xt)&&(It(),St())}}function Et(e,t){var i=e.stateNode;if(null===i)return null;var r=bo(i);if(null===r)return null;i=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(i&&"function"!=typeof i)throw Error(re(231,t,typeof i));return i}var Rt=!1;if(ue)try{var Tt={};Object.defineProperty(Tt,"passive",{get:function(){Rt=!0}}),window.addEventListener("test",Tt,Tt),window.removeEventListener("test",Tt,Tt)}catch(ut){Rt=!1}function At(e,t,i,r,n,o,a,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(i,c)}catch(od){this.onError(od)}}var Ht=!1,Nt=null,Mt=!1,Lt=null,Ft={onError:function(e){Ht=!0,Nt=e}};function Dt(e,t,i,r,n,o,a,l,u){Ht=!1,Nt=null,At.apply(Ft,arguments)}function Ot(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(i=t.return),e=t.return}while(e)}return 3===t.tag?i:null}function Wt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Vt(e){if(Ot(e)!==e)throw Error(re(188))}function Gt(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Ot(e)))throw Error(re(188));return t!==e?null:e}for(var i=e,r=t;;){var n=i.return;if(null===n)break;var o=n.alternate;if(null===o){if(null!==(r=n.return)){i=r;continue}break}if(n.child===o.child){for(o=n.child;o;){if(o===i)return Vt(n),e;if(o===r)return Vt(n),t;o=o.sibling}throw Error(re(188))}if(i.return!==r.return)i=n,r=o;else{for(var a=!1,l=n.child;l;){if(l===i){a=!0,i=n,r=o;break}if(l===r){a=!0,r=n,i=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===i){a=!0,i=o,r=n;break}if(l===r){a=!0,r=o,i=n;break}l=l.sibling}if(!a)throw Error(re(189))}}if(i.alternate!==r)throw Error(re(190))}if(3!==i.tag)throw Error(re(188));return i.stateNode.current===i?e:t}(e),null!==e?Yt(e):null}function Yt(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Yt(e);if(null!==t)return t;e=e.sibling}return null}var jt=ie.unstable_scheduleCallback,Ut=ie.unstable_cancelCallback,Xt=ie.unstable_shouldYield,Kt=ie.unstable_requestPaint,$t=ie.unstable_now,qt=ie.unstable_getCurrentPriorityLevel,Qt=ie.unstable_ImmediatePriority,Zt=ie.unstable_UserBlockingPriority,Jt=ie.unstable_NormalPriority,ei=ie.unstable_LowPriority,ti=ie.unstable_IdlePriority,ii=null,ri=null,ni=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(oi(e)/ai|0)|0},oi=Math.log,ai=Math.LN2,li=64,ui=4194304;function ci(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function si(e,t){var i=e.pendingLanes;if(0===i)return 0;var r=0,n=e.suspendedLanes,o=e.pingedLanes,a=268435455&i;if(0!==a){var l=a&~n;0!==l?r=ci(l):0!=(o&=a)&&(r=ci(o))}else 0!=(a=i&~n)?r=ci(a):0!==o&&(r=ci(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&n)&&((n=r&-r)>=(o=t&-t)||16===n&&4194240&o))return t;if(4&r&&(r|=16&i),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)n=1<<(i=31-ni(t)),r|=e[i],t&=~n;return r}function di(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function vi(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function pi(){var e=li;return!(4194240&(li<<=1))&&(li=64),e}function _i(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function ki(e,t,i){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ni(t)]=i}function hi(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var r=31-ni(i),n=1<<r;n&t|e[r]&t&&(e[r]|=t),i&=~n}}var fi=0;function mi(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var gi,bi,yi,xi,wi,zi=!1,Si=[],Ci=null,Ii=null,Pi=null,Bi=new Map,Ei=new Map,Ri=[],Ti="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ai(e,t){switch(e){case"focusin":case"focusout":Ci=null;break;case"dragenter":case"dragleave":Ii=null;break;case"mouseover":case"mouseout":Pi=null;break;case"pointerover":case"pointerout":Bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Hi(e,t,i,r,n,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:i,eventSystemFlags:r,nativeEvent:o,targetContainers:[n]},null!==t&&null!==(t=mo(t))&&bi(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==n&&-1===t.indexOf(n)&&t.push(n),e)}function Ni(e){var t=fo(e.target);if(null!==t){var i=Ot(t);if(null!==i)if(13===(t=i.tag)){if(null!==(t=Wt(i)))return e.blockedOn=t,void wi(e.priority,(function(){yi(i)}))}else if(3===t&&i.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===i.tag?i.stateNode.containerInfo:null)}e.blockedOn=null}function Mi(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var i=Xi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==i)return null!==(t=mo(i))&&bi(t),e.blockedOn=i,!1;var r=new(i=e.nativeEvent).constructor(i.type,i);mt=r,i.target.dispatchEvent(r),mt=null,t.shift()}return!0}function Li(e,t,i){Mi(e)&&i.delete(t)}function Fi(){zi=!1,null!==Ci&&Mi(Ci)&&(Ci=null),null!==Ii&&Mi(Ii)&&(Ii=null),null!==Pi&&Mi(Pi)&&(Pi=null),Bi.forEach(Li),Ei.forEach(Li)}function Di(e,t){e.blockedOn===t&&(e.blockedOn=null,zi||(zi=!0,ie.unstable_scheduleCallback(ie.unstable_NormalPriority,Fi)))}function Oi(e){function t(t){return Di(t,e)}if(0<Si.length){Di(Si[0],e);for(var i=1;i<Si.length;i++){var r=Si[i];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ci&&Di(Ci,e),null!==Ii&&Di(Ii,e),null!==Pi&&Di(Pi,e),Bi.forEach(t),Ei.forEach(t),i=0;i<Ri.length;i++)(r=Ri[i]).blockedOn===e&&(r.blockedOn=null);for(;0<Ri.length&&null===(i=Ri[0]).blockedOn;)Ni(i),null===i.blockedOn&&Ri.shift()}var Wi=me.ReactCurrentBatchConfig,Vi=!0;function Gi(e,t,i,r){var n=fi,o=Wi.transition;Wi.transition=null;try{fi=1,ji(e,t,i,r)}finally{fi=n,Wi.transition=o}}function Yi(e,t,i,r){var n=fi,o=Wi.transition;Wi.transition=null;try{fi=4,ji(e,t,i,r)}finally{fi=n,Wi.transition=o}}function ji(e,t,i,r){if(Vi){var n=Xi(e,t,i,r);if(null===n)Vn(e,t,r,Ui,i),Ai(e,r);else if(function(e,t,i,r,n){switch(t){case"focusin":return Ci=Hi(Ci,e,t,i,r,n),!0;case"dragenter":return Ii=Hi(Ii,e,t,i,r,n),!0;case"mouseover":return Pi=Hi(Pi,e,t,i,r,n),!0;case"pointerover":var o=n.pointerId;return Bi.set(o,Hi(Bi.get(o)||null,e,t,i,r,n)),!0;case"gotpointercapture":return o=n.pointerId,Ei.set(o,Hi(Ei.get(o)||null,e,t,i,r,n)),!0}return!1}(n,e,t,i,r))r.stopPropagation();else if(Ai(e,r),4&t&&-1<Ti.indexOf(e)){for(;null!==n;){var o=mo(n);if(null!==o&&gi(o),null===(o=Xi(e,t,i,r))&&Vn(e,t,r,Ui,i),o===n)break;n=o}null!==n&&r.stopPropagation()}else Vn(e,t,r,null,i)}}var Ui=null;function Xi(e,t,i,r){if(Ui=null,null!==(e=fo(e=gt(r))))if(null===(t=Ot(e)))e=null;else if(13===(i=t.tag)){if(null!==(e=Wt(t)))return e;e=null}else if(3===i){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ui=e,null}function Ki(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qt()){case Qt:return 1;case Zt:return 4;case Jt:case ei:return 16;case ti:return 536870912;default:return 16}default:return 16}}var $i=null,qi=null,Qi=null;function Zi(){if(Qi)return Qi;var e,t,i=qi,r=i.length,n="value"in $i?$i.value:$i.textContent,o=n.length;for(e=0;e<r&&i[e]===n[e];e++);var a=r-e;for(t=1;t<=a&&i[r-t]===n[o-t];t++);return Qi=n.slice(e,1<t?1-t:void 0)}function Ji(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function er(){return!0}function tr(){return!1}function ir(e){function t(t,i,r,n,o){for(var a in this._reactName=t,this._targetInst=r,this.type=i,this.nativeEvent=n,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(n):n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?er:tr,this.isPropagationStopped=tr,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=er)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=er)},persist:function(){},isPersistent:er}),t}var rr,nr,or,ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=ir(ar),ur=Ne({},ar,{view:0,detail:0}),cr=ir(ur),sr=Ne({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==or&&(or&&"mousemove"===e.type?(rr=e.screenX-or.screenX,nr=e.screenY-or.screenY):nr=rr=0,or=e),rr)},movementY:function(e){return"movementY"in e?e.movementY:nr}}),dr=ir(sr),vr=ir(Ne({},sr,{dataTransfer:0})),pr=ir(Ne({},ur,{relatedTarget:0})),_r=ir(Ne({},ar,{animationName:0,elapsedTime:0,pseudoElement:0})),kr=Ne({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hr=ir(kr),fr=ir(Ne({},ar,{data:0})),mr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},br={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=br[e])&&!!t[e]}function xr(){return yr}var wr=Ne({},ur,{key:function(e){if(e.key){var t=mr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ji(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?gr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xr,charCode:function(e){return"keypress"===e.type?Ji(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ji(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),zr=ir(wr),Sr=ir(Ne({},sr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cr=ir(Ne({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xr})),Ir=ir(Ne({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pr=Ne({},sr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Br=ir(Pr),Er=[9,13,27,32],Rr=ue&&"CompositionEvent"in window,Tr=null;ue&&"documentMode"in document&&(Tr=document.documentMode);var Ar=ue&&"TextEvent"in window&&!Tr,Hr=ue&&(!Rr||Tr&&8<Tr&&11>=Tr),Nr=String.fromCharCode(32),Mr=!1;function Lr(e,t){switch(e){case"keyup":return-1!==Er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Dr=!1,Or={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Or[e.type]:"textarea"===t}function Vr(e,t,i,r){zt(r),0<(t=Yn(t,"onChange")).length&&(i=new lr("onChange","change",null,i,r),e.push({event:i,listeners:t}))}var Gr=null,Yr=null;function jr(e){Mn(e,0)}function Ur(e){if(je(go(e)))return e}function Xr(e,t){if("change"===e)return t}var Kr=!1;if(ue){var $r;if(ue){var qr="oninput"in document;if(!qr){var Qr=document.createElement("div");Qr.setAttribute("oninput","return;"),qr="function"==typeof Qr.oninput}$r=qr}else $r=!1;Kr=$r&&(!document.documentMode||9<document.documentMode)}function Zr(){Gr&&(Gr.detachEvent("onpropertychange",Jr),Yr=Gr=null)}function Jr(e){if("value"===e.propertyName&&Ur(Yr)){var t=[];Vr(t,Yr,e,gt(e)),Bt(jr,t)}}function en(e,t,i){"focusin"===e?(Zr(),Yr=i,(Gr=t).attachEvent("onpropertychange",Jr)):"focusout"===e&&Zr()}function tn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ur(Yr)}function rn(e,t){if("click"===e)return Ur(t)}function nn(e,t){if("input"===e||"change"===e)return Ur(t)}var on="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function an(e,t){if(on(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var i=Object.keys(e),r=Object.keys(t);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var n=i[r];if(!ce.call(t,n)||!on(e[n],t[n]))return!1}return!0}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var i,r=ln(e);for(e=0;r;){if(3===r.nodeType){if(i=e+r.textContent.length,e<=t&&i>=t)return{node:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ln(r)}}function cn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?cn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function sn(){for(var e=window,t=Ue();t instanceof e.HTMLIFrameElement;){try{var i="string"==typeof t.contentWindow.location.href}catch(r){i=!1}if(!i)break;t=Ue((e=t.contentWindow).document)}return t}function dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function vn(e){var t=sn(),i=e.focusedElem,r=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&cn(i.ownerDocument.documentElement,i)){if(null!==r&&dn(i))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if((e=(t=i.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var n=i.textContent.length,o=Math.min(r.start,n);r=void 0===r.end?o:Math.min(r.end,n),!e.extend&&o>r&&(n=r,r=o,o=n),n=un(i,o);var a=un(i,r);n&&a&&(1!==e.rangeCount||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(n.node,n.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=i;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;i<t.length;i++)(e=t[i]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pn=ue&&"documentMode"in document&&11>=document.documentMode,_n=null,kn=null,hn=null,fn=!1;function mn(e,t,i){var r=i.window===i?i.document:9===i.nodeType?i:i.ownerDocument;fn||null==_n||_n!==Ue(r)||(r="selectionStart"in(r=_n)&&dn(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},hn&&an(hn,r)||(hn=r,0<(r=Yn(kn,"onSelect")).length&&(t=new lr("onSelect","select",null,t,i),e.push({event:t,listeners:r}),t.target=_n)))}function gn(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var bn={animationend:gn("Animation","AnimationEnd"),animationiteration:gn("Animation","AnimationIteration"),animationstart:gn("Animation","AnimationStart"),transitionend:gn("Transition","TransitionEnd")},yn={},xn={};function wn(e){if(yn[e])return yn[e];if(!bn[e])return e;var t,i=bn[e];for(t in i)if(i.hasOwnProperty(t)&&t in xn)return yn[e]=i[t];return e}ue&&(xn=document.createElement("div").style,"AnimationEvent"in window||(delete bn.animationend.animation,delete bn.animationiteration.animation,delete bn.animationstart.animation),"TransitionEvent"in window||delete bn.transitionend.transition);var zn=wn("animationend"),Sn=wn("animationiteration"),Cn=wn("animationstart"),In=wn("transitionend"),Pn=new Map,Bn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function En(e,t){Pn.set(e,t),ae(t,[e])}for(var Rn=0;Rn<Bn.length;Rn++){var Tn=Bn[Rn];En(Tn.toLowerCase(),"on"+(Tn[0].toUpperCase()+Tn.slice(1)))}En(zn,"onAnimationEnd"),En(Sn,"onAnimationIteration"),En(Cn,"onAnimationStart"),En("dblclick","onDoubleClick"),En("focusin","onFocus"),En("focusout","onBlur"),En(In,"onTransitionEnd"),le("onMouseEnter",["mouseout","mouseover"]),le("onMouseLeave",["mouseout","mouseover"]),le("onPointerEnter",["pointerout","pointerover"]),le("onPointerLeave",["pointerout","pointerover"]),ae("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ae("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ae("onBeforeInput",["compositionend","keypress","textInput","paste"]),ae("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ae("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ae("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var An="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Hn=new Set("cancel close invalid load scroll toggle".split(" ").concat(An));function Nn(e,t,i){var r=e.type||"unknown-event";e.currentTarget=i,function(e,t,i,r,n,o,a,l,u){if(Dt.apply(this,arguments),Ht){if(!Ht)throw Error(re(198));var c=Nt;Ht=!1,Nt=null,Mt||(Mt=!0,Lt=c)}}(r,t,void 0,e),e.currentTarget=null}function Mn(e,t){t=!!(4&t);for(var i=0;i<e.length;i++){var r=e[i],n=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==o&&n.isPropagationStopped())break e;Nn(n,l,c),o=u}else for(a=0;a<r.length;a++){if(u=(l=r[a]).instance,c=l.currentTarget,l=l.listener,u!==o&&n.isPropagationStopped())break e;Nn(n,l,c),o=u}}}if(Mt)throw e=Lt,Mt=!1,Lt=null,e}function Ln(e,t){var i=t[_o];void 0===i&&(i=t[_o]=new Set);var r=e+"__bubble";i.has(r)||(Wn(t,e,2,!1),i.add(r))}function Fn(e,t,i){var r=0;t&&(r|=4),Wn(i,e,r,t)}var Dn="_reactListening"+Math.random().toString(36).slice(2);function On(e){if(!e[Dn]){e[Dn]=!0,ne.forEach((function(t){"selectionchange"!==t&&(Hn.has(t)||Fn(t,!1,e),Fn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Dn]||(t[Dn]=!0,Fn("selectionchange",!1,t))}}function Wn(e,t,i,r){switch(Ki(t)){case 1:var n=Gi;break;case 4:n=Yi;break;default:n=ji}i=n.bind(null,t,i,e),n=void 0,!Rt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(n=!0),r?void 0!==n?e.addEventListener(t,i,{capture:!0,passive:n}):e.addEventListener(t,i,!0):void 0!==n?e.addEventListener(t,i,{passive:n}):e.addEventListener(t,i,!1)}function Vn(e,t,i,r,n){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===n||8===l.nodeType&&l.parentNode===n)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===n||8===u.nodeType&&u.parentNode===n))return;a=a.return}for(;null!==l;){if(null===(a=fo(l)))return;if(5===(u=a.tag)||6===u){r=o=a;continue e}l=l.parentNode}}r=r.return}Bt((function(){var r=o,n=gt(i),a=[];e:{var l=Pn.get(e);if(void 0!==l){var u=lr,c=e;switch(e){case"keypress":if(0===Ji(i))break e;case"keydown":case"keyup":u=zr;break;case"focusin":c="focus",u=pr;break;case"focusout":c="blur",u=pr;break;case"beforeblur":case"afterblur":u=pr;break;case"click":if(2===i.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=dr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=vr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Cr;break;case zn:case Sn:case Cn:u=_r;break;case In:u=Ir;break;case"scroll":u=cr;break;case"wheel":u=Br;break;case"copy":case"cut":case"paste":u=hr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Sr}var s=!!(4&t),d=!s&&"scroll"===e,v=s?null!==l?l+"Capture":null:l;s=[];for(var p,_=r;null!==_;){var k=(p=_).stateNode;if(5===p.tag&&null!==k&&(p=k,null!==v&&null!=(k=Et(_,v))&&s.push(Gn(_,k,p))),d)break;_=_.return}0<s.length&&(l=new u(l,c,null,i,n),a.push({event:l,listeners:s}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||i===mt||!(c=i.relatedTarget||i.fromElement)||!fo(c)&&!c[po])&&(u||l)&&(l=n.window===n?n:(l=n.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=i.relatedTarget||i.toElement)?fo(c):null)&&(c!==(d=Ot(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(s=dr,k="onMouseLeave",v="onMouseEnter",_="mouse","pointerout"!==e&&"pointerover"!==e||(s=Sr,k="onPointerLeave",v="onPointerEnter",_="pointer"),d=null==u?l:go(u),p=null==c?l:go(c),(l=new s(k,_+"leave",u,i,n)).target=d,l.relatedTarget=p,k=null,fo(n)===r&&((s=new s(v,_+"enter",c,i,n)).target=p,s.relatedTarget=d,k=s),d=k,u&&c)e:{for(v=c,_=0,p=s=u;p;p=jn(p))_++;for(p=0,k=v;k;k=jn(k))p++;for(;0<_-p;)s=jn(s),_--;for(;0<p-_;)v=jn(v),p--;for(;_--;){if(s===v||null!==v&&s===v.alternate)break e;s=jn(s),v=jn(v)}s=null}else s=null;null!==u&&Un(a,l,u,s,!1),null!==c&&null!==d&&Un(a,d,c,s,!0)}if("select"===(u=(l=r?go(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var h=Xr;else if(Wr(l))if(Kr)h=nn;else{h=tn;var f=en}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=rn);switch(h&&(h=h(e,r))?Vr(a,h,i,n):(f&&f(e,l,r),"focusout"===e&&(f=l._wrapperState)&&f.controlled&&"number"===l.type&&Ze(l,"number",l.value)),f=r?go(r):window,e){case"focusin":(Wr(f)||"true"===f.contentEditable)&&(_n=f,kn=r,hn=null);break;case"focusout":hn=kn=_n=null;break;case"mousedown":fn=!0;break;case"contextmenu":case"mouseup":case"dragend":fn=!1,mn(a,i,n);break;case"selectionchange":if(pn)break;case"keydown":case"keyup":mn(a,i,n)}var m;if(Rr)e:{switch(e){case"compositionstart":var g="onCompositionStart";break e;case"compositionend":g="onCompositionEnd";break e;case"compositionupdate":g="onCompositionUpdate";break e}g=void 0}else Dr?Lr(e,i)&&(g="onCompositionEnd"):"keydown"===e&&229===i.keyCode&&(g="onCompositionStart");g&&(Hr&&"ko"!==i.locale&&(Dr||"onCompositionStart"!==g?"onCompositionEnd"===g&&Dr&&(m=Zi()):(qi="value"in($i=n)?$i.value:$i.textContent,Dr=!0)),0<(f=Yn(r,g)).length&&(g=new fr(g,e,null,i,n),a.push({event:g,listeners:f}),(m||null!==(m=Fr(i)))&&(g.data=m))),(m=Ar?function(e,t){switch(e){case"compositionend":return Fr(t);case"keypress":return 32!==t.which?null:(Mr=!0,Nr);case"textInput":return(e=t.data)===Nr&&Mr?null:e;default:return null}}(e,i):function(e,t){if(Dr)return"compositionend"===e||!Rr&&Lr(e,t)?(e=Zi(),Qi=qi=$i=null,Dr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hr&&"ko"!==t.locale?null:t.data}}(e,i))&&0<(r=Yn(r,"onBeforeInput")).length&&(n=new fr("onBeforeInput","beforeinput",null,i,n),a.push({event:n,listeners:r}),n.data=m)}Mn(a,t)}))}function Gn(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Yn(e,t){for(var i=t+"Capture",r=[];null!==e;){var n=e,o=n.stateNode;5===n.tag&&null!==o&&(n=o,null!=(o=Et(e,i))&&r.unshift(Gn(e,o,n)),null!=(o=Et(e,t))&&r.push(Gn(e,o,n))),e=e.return}return r}function jn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Un(e,t,i,r,n){for(var o=t._reactName,a=[];null!==i&&i!==r;){var l=i,u=l.alternate,c=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==c&&(l=c,n?null!=(u=Et(i,o))&&a.unshift(Gn(i,u,l)):n||null!=(u=Et(i,o))&&a.push(Gn(i,u,l))),i=i.return}0!==a.length&&e.push({event:t,listeners:a})}var Xn=/\r\n?/g,Kn=/\u0000|\uFFFD/g;function $n(e){return("string"==typeof e?e:""+e).replace(Xn,"\n").replace(Kn,"")}function qn(e,t,i){if(t=$n(t),$n(e)!==t&&i)throw Error(re(425))}function Qn(){}var Zn=null,Jn=null;function eo(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var to="function"==typeof setTimeout?setTimeout:void 0,io="function"==typeof clearTimeout?clearTimeout:void 0,ro="function"==typeof Promise?Promise:void 0,no="function"==typeof queueMicrotask?queueMicrotask:void 0!==ro?function(e){return ro.resolve(null).then(e).catch(oo)}:to;function oo(e){setTimeout((function(){throw e}))}function ao(e,t){var i=t,r=0;do{var n=i.nextSibling;if(e.removeChild(i),n&&8===n.nodeType)if("/$"===(i=n.data)){if(0===r)return e.removeChild(n),void Oi(t);r--}else"$"!==i&&"$?"!==i&&"$!"!==i||r++;i=n}while(i);Oi(t)}function lo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var i=e.data;if("$"===i||"$!"===i||"$?"===i){if(0===t)return e;t--}else"/$"===i&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),so="__reactFiber$"+co,vo="__reactProps$"+co,po="__reactContainer$"+co,_o="__reactEvents$"+co,ko="__reactListeners$"+co,ho="__reactHandles$"+co;function fo(e){var t=e[so];if(t)return t;for(var i=e.parentNode;i;){if(t=i[po]||i[so]){if(i=t.alternate,null!==t.child||null!==i&&null!==i.child)for(e=uo(e);null!==e;){if(i=e[so])return i;e=uo(e)}return t}i=(e=i).parentNode}return null}function mo(e){return!(e=e[so]||e[po])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function go(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(re(33))}function bo(e){return e[vo]||null}var yo=[],xo=-1;function wo(e){return{current:e}}function zo(e){0>xo||(e.current=yo[xo],yo[xo]=null,xo--)}function So(e,t){xo++,yo[xo]=e.current,e.current=t}var Co={},Io=wo(Co),Po=wo(!1),Bo=Co;function Eo(e,t){var i=e.type.contextTypes;if(!i)return Co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var n,o={};for(n in i)o[n]=t[n];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ro(e){return null!=(e=e.childContextTypes)}function To(){zo(Po),zo(Io)}function Ao(e,t,i){if(Io.current!==Co)throw Error(re(168));So(Io,t),So(Po,i)}function Ho(e,t,i){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return i;for(var n in r=r.getChildContext())if(!(n in t))throw Error(re(108,We(e)||"Unknown",n));return Ne({},i,r)}function No(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Co,Bo=Io.current,So(Io,e),So(Po,Po.current),!0}function Mo(e,t,i){var r=e.stateNode;if(!r)throw Error(re(169));i?(e=Ho(e,t,Bo),r.__reactInternalMemoizedMergedChildContext=e,zo(Po),zo(Io),So(Io,e)):zo(Po),So(Po,i)}var Lo=null,Fo=!1,Do=!1;function Oo(e){null===Lo?Lo=[e]:Lo.push(e)}function Wo(){if(!Do&&null!==Lo){Do=!0;var e=0,t=fi;try{var i=Lo;for(fi=1;e<i.length;e++){var r=i[e];do{r=r(!0)}while(null!==r)}Lo=null,Fo=!1}catch(n){throw null!==Lo&&(Lo=Lo.slice(e+1)),jt(Qt,Wo),n}finally{fi=t,Do=!1}}return null}var Vo=[],Go=0,Yo=null,jo=0,Uo=[],Xo=0,Ko=null,$o=1,qo="";function Qo(e,t){Vo[Go++]=jo,Vo[Go++]=Yo,Yo=e,jo=t}function Zo(e,t,i){Uo[Xo++]=$o,Uo[Xo++]=qo,Uo[Xo++]=Ko,Ko=e;var r=$o;e=qo;var n=32-ni(r)-1;r&=~(1<<n),i+=1;var o=32-ni(t)+n;if(30<o){var a=n-n%5;o=(r&(1<<a)-1).toString(32),r>>=a,n-=a,$o=1<<32-ni(t)+n|i<<n|r,qo=o+e}else $o=1<<o|i<<n|r,qo=e}function Jo(e){null!==e.return&&(Qo(e,1),Zo(e,1,0))}function ea(e){for(;e===Yo;)Yo=Vo[--Go],Vo[Go]=null,jo=Vo[--Go],Vo[Go]=null;for(;e===Ko;)Ko=Uo[--Xo],Uo[Xo]=null,qo=Uo[--Xo],Uo[Xo]=null,$o=Uo[--Xo],Uo[Xo]=null}var ta=null,ia=null,ra=!1,na=null;function oa(e,t){var i=Es(5,null,null,0);i.elementType="DELETED",i.stateNode=t,i.return=e,null===(t=e.deletions)?(e.deletions=[i],e.flags|=16):t.push(i)}function aa(e,t){switch(e.tag){case 5:var i=e.type;return null!==(t=1!==t.nodeType||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ta=e,ia=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ta=e,ia=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(i=null!==Ko?{id:$o,overflow:qo}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},(i=Es(18,null,null,0)).stateNode=t,i.return=e,e.child=i,ta=e,ia=null,!0);default:return!1}}function la(e){return!(!(1&e.mode)||128&e.flags)}function ua(e){if(ra){var t=ia;if(t){var i=t;if(!aa(e,t)){if(la(e))throw Error(re(418));t=lo(i.nextSibling);var r=ta;t&&aa(e,t)?oa(r,i):(e.flags=-4097&e.flags|2,ra=!1,ta=e)}}else{if(la(e))throw Error(re(418));e.flags=-4097&e.flags|2,ra=!1,ta=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ta=e}function sa(e){if(e!==ta)return!1;if(!ra)return ca(e),ra=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!eo(e.type,e.memoizedProps)),t&&(t=ia)){if(la(e))throw da(),Error(re(418));for(;t;)oa(e,t),t=lo(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(re(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var i=e.data;if("/$"===i){if(0===t){ia=lo(e.nextSibling);break e}t--}else"$"!==i&&"$!"!==i&&"$?"!==i||t++}e=e.nextSibling}ia=null}}else ia=ta?lo(e.stateNode.nextSibling):null;return!0}function da(){for(var e=ia;e;)e=lo(e.nextSibling)}function va(){ia=ta=null,ra=!1}function pa(e){null===na?na=[e]:na.push(e)}var _a=me.ReactCurrentBatchConfig;function ka(e,t){if(e&&e.defaultProps){for(var i in t=Ne({},t),e=e.defaultProps)void 0===t[i]&&(t[i]=e[i]);return t}return t}var ha=wo(null),fa=null,ma=null,ga=null;function ba(){ga=ma=fa=null}function ya(e){var t=ha.current;zo(ha),e._currentValue=t}function xa(e,t,i){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===i)break;e=e.return}}function wa(e,t){fa=e,ga=ma=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(mu=!0),e.firstContext=null)}function za(e){var t=e._currentValue;if(ga!==e)if(e={context:e,memoizedValue:t,next:null},null===ma){if(null===fa)throw Error(re(308));ma=e,fa.dependencies={lanes:0,firstContext:e}}else ma=ma.next=e;return t}var Sa=null;function Ca(e){null===Sa?Sa=[e]:Sa.push(e)}function Ia(e,t,i,r){var n=t.interleaved;return null===n?(i.next=i,Ca(t)):(i.next=n.next,n.next=i),t.interleaved=i,Pa(e,r)}function Pa(e,t){e.lanes|=t;var i=e.alternate;for(null!==i&&(i.lanes|=t),i=e,e=e.return;null!==e;)e.childLanes|=t,null!==(i=e.alternate)&&(i.childLanes|=t),i=e,e=e.return;return 3===i.tag?i.stateNode:null}var Ba=!1;function Ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ta(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Aa(e,t,i){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ic){var n=r.pending;return null===n?t.next=t:(t.next=n.next,n.next=t),r.pending=t,Pa(e,i)}return null===(n=r.interleaved)?(t.next=t,Ca(r)):(t.next=n.next,n.next=t),r.interleaved=t,Pa(e,i)}function Ha(e,t,i){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&i)){var r=t.lanes;i|=r&=e.pendingLanes,t.lanes=i,hi(e,i)}}function Na(e,t){var i=e.updateQueue,r=e.alternate;if(null!==r&&i===(r=r.updateQueue)){var n=null,o=null;if(null!==(i=i.firstBaseUpdate)){do{var a={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};null===o?n=o=a:o=o.next=a,i=i.next}while(null!==i);null===o?n=o=t:o=o.next=t}else n=o=t;return i={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=i)}null===(e=i.lastBaseUpdate)?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Ma(e,t,i,r){var n=e.updateQueue;Ba=!1;var o=n.firstBaseUpdate,a=n.lastBaseUpdate,l=n.shared.pending;if(null!==l){n.shared.pending=null;var u=l,c=u.next;u.next=null,null===a?o=c:a.next=c,a=u;var s=e.alternate;null!==s&&(l=(s=s.updateQueue).lastBaseUpdate)!==a&&(null===l?s.firstBaseUpdate=c:l.next=c,s.lastBaseUpdate=u)}if(null!==o){var d=n.baseState;for(a=0,s=c=u=null,l=o;;){var v=l.lane,p=l.eventTime;if((r&v)===v){null!==s&&(s=s.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var _=e,k=l;switch(v=t,p=i,k.tag){case 1:if("function"==typeof(_=k.payload)){d=_.call(p,d,v);break e}d=_;break e;case 3:_.flags=-65537&_.flags|128;case 0:if(null==(v="function"==typeof(_=k.payload)?_.call(p,d,v):_))break e;d=Ne({},d,v);break e;case 2:Ba=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(v=n.effects)?n.effects=[l]:v.push(l))}else p={eventTime:p,lane:v,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===s?(c=s=p,u=d):s=s.next=p,a|=v;if(null===(l=l.next)){if(null===(l=n.shared.pending))break;l=(v=l).next,v.next=null,n.lastBaseUpdate=v,n.shared.pending=null}}if(null===s&&(u=d),n.baseState=u,n.firstBaseUpdate=c,n.lastBaseUpdate=s,null!==(t=n.shared.interleaved)){n=t;do{a|=n.lane,n=n.next}while(n!==t)}else null===o&&(n.shared.lanes=0);Nc|=a,e.lanes=a,e.memoizedState=d}}function La(e,t,i){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],n=r.callback;if(null!==n){if(r.callback=null,r=i,"function"!=typeof n)throw Error(re(191,n));n.call(r)}}}var Fa=(new te.Component).refs;function Da(e,t,i,r){i=null==(i=i(r,t=e.memoizedState))?t:Ne({},t,i),e.memoizedState=i,0===e.lanes&&(e.updateQueue.baseState=i)}var Oa={isMounted:function(e){return!!(e=e._reactInternals)&&Ot(e)===e},enqueueSetState:function(e,t,i){e=e._reactInternals;var r=Jc(),n=es(e),o=Ta(r,n);o.payload=t,null!=i&&(o.callback=i),null!==(t=Aa(e,o,n))&&(ts(t,e,n,r),Ha(t,e,n))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var r=Jc(),n=es(e),o=Ta(r,n);o.tag=1,o.payload=t,null!=i&&(o.callback=i),null!==(t=Aa(e,o,n))&&(ts(t,e,n,r),Ha(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Jc(),r=es(e),n=Ta(i,r);n.tag=2,null!=t&&(n.callback=t),null!==(t=Aa(e,n,r))&&(ts(t,e,r,i),Ha(t,e,r))}};function Wa(e,t,i,r,n,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&an(i,r)&&an(n,o))}function Va(e,t,i){var r=!1,n=Co,o=t.contextType;return"object"==typeof o&&null!==o?o=za(o):(n=Ro(t)?Bo:Io.current,o=(r=null!=(r=t.contextTypes))?Eo(e,n):Co),t=new t(i,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Oa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ga(e,t,i,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(i,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(i,r),t.state!==e&&Oa.enqueueReplaceState(t,t.state,null)}function Ya(e,t,i,r){var n=e.stateNode;n.props=i,n.state=e.memoizedState,n.refs=Fa,Ea(e);var o=t.contextType;"object"==typeof o&&null!==o?n.context=za(o):(o=Ro(t)?Bo:Io.current,n.context=Eo(e,o)),n.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Da(e,t,o,i),n.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof n.getSnapshotBeforeUpdate||"function"!=typeof n.UNSAFE_componentWillMount&&"function"!=typeof n.componentWillMount||(t=n.state,"function"==typeof n.componentWillMount&&n.componentWillMount(),"function"==typeof n.UNSAFE_componentWillMount&&n.UNSAFE_componentWillMount(),t!==n.state&&Oa.enqueueReplaceState(n,n.state,null),Ma(e,i,n,r),n.state=e.memoizedState),"function"==typeof n.componentDidMount&&(e.flags|=4194308)}function ja(e,t,i){if(null!==(e=i.ref)&&"function"!=typeof e&&"object"!=typeof e){if(i._owner){if(i=i._owner){if(1!==i.tag)throw Error(re(309));var r=i.stateNode}if(!r)throw Error(re(147,e));var n=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=n.refs;t===Fa&&(t=n.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(re(284));if(!i._owner)throw Error(re(290,e))}return e}function Ua(e,t){throw e=Object.prototype.toString.call(t),Error(re(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xa(e){return(0,e._init)(e._payload)}function Ka(e){function t(t,i){if(e){var r=t.deletions;null===r?(t.deletions=[i],t.flags|=16):r.push(i)}}function i(i,r){if(!e)return null;for(;null!==r;)t(i,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function n(e,t){return(e=Ts(e,t)).index=0,e.sibling=null,e}function o(t,i,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<i?(t.flags|=2,i):r:(t.flags|=2,i):(t.flags|=1048576,i)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,i,r){return null===t||6!==t.tag?((t=Ms(i,e.mode,r)).return=e,t):((t=n(t,i)).return=e,t)}function u(e,t,i,r){var o=i.type;return o===ye?s(e,t,i.props.children,r,i.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===Ee&&Xa(o)===t.type)?((r=n(t,i.props)).ref=ja(e,t,i),r.return=e,r):((r=As(i.type,i.key,i.props,null,e.mode,r)).ref=ja(e,t,i),r.return=e,r)}function c(e,t,i,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==i.containerInfo||t.stateNode.implementation!==i.implementation?((t=Ls(i,e.mode,r)).return=e,t):((t=n(t,i.children||[])).return=e,t)}function s(e,t,i,r,o){return null===t||7!==t.tag?((t=Hs(i,e.mode,r,o)).return=e,t):((t=n(t,i)).return=e,t)}function d(e,t,i){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ms(""+t,e.mode,i)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ge:return(i=As(t.type,t.key,t.props,null,e.mode,i)).ref=ja(e,null,t),i.return=e,i;case be:return(t=Ls(t,e.mode,i)).return=e,t;case Ee:return d(e,(0,t._init)(t._payload),i)}if(Je(t)||Ae(t))return(t=Hs(t,e.mode,i,null)).return=e,t;Ua(e,t)}return null}function v(e,t,i,r){var n=null!==t?t.key:null;if("string"==typeof i&&""!==i||"number"==typeof i)return null!==n?null:l(e,t,""+i,r);if("object"==typeof i&&null!==i){switch(i.$$typeof){case ge:return i.key===n?u(e,t,i,r):null;case be:return i.key===n?c(e,t,i,r):null;case Ee:return v(e,t,(n=i._init)(i._payload),r)}if(Je(i)||Ae(i))return null!==n?null:s(e,t,i,r,null);Ua(e,i)}return null}function p(e,t,i,r,n){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(i)||null,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ge:return u(t,e=e.get(null===r.key?i:r.key)||null,r,n);case be:return c(t,e=e.get(null===r.key?i:r.key)||null,r,n);case Ee:return p(e,t,i,(0,r._init)(r._payload),n)}if(Je(r)||Ae(r))return s(t,e=e.get(i)||null,r,n,null);Ua(t,r)}return null}function _(n,a,l,u){for(var c=null,s=null,_=a,k=a=0,h=null;null!==_&&k<l.length;k++){_.index>k?(h=_,_=null):h=_.sibling;var f=v(n,_,l[k],u);if(null===f){null===_&&(_=h);break}e&&_&&null===f.alternate&&t(n,_),a=o(f,a,k),null===s?c=f:s.sibling=f,s=f,_=h}if(k===l.length)return i(n,_),ra&&Qo(n,k),c;if(null===_){for(;k<l.length;k++)null!==(_=d(n,l[k],u))&&(a=o(_,a,k),null===s?c=_:s.sibling=_,s=_);return ra&&Qo(n,k),c}for(_=r(n,_);k<l.length;k++)null!==(h=p(_,n,k,l[k],u))&&(e&&null!==h.alternate&&_.delete(null===h.key?k:h.key),a=o(h,a,k),null===s?c=h:s.sibling=h,s=h);return e&&_.forEach((function(e){return t(n,e)})),ra&&Qo(n,k),c}function k(n,a,l,u){var c=Ae(l);if("function"!=typeof c)throw Error(re(150));if(null==(l=c.call(l)))throw Error(re(151));for(var s=c=null,_=a,k=a=0,h=null,f=l.next();null!==_&&!f.done;k++,f=l.next()){_.index>k?(h=_,_=null):h=_.sibling;var m=v(n,_,f.value,u);if(null===m){null===_&&(_=h);break}e&&_&&null===m.alternate&&t(n,_),a=o(m,a,k),null===s?c=m:s.sibling=m,s=m,_=h}if(f.done)return i(n,_),ra&&Qo(n,k),c;if(null===_){for(;!f.done;k++,f=l.next())null!==(f=d(n,f.value,u))&&(a=o(f,a,k),null===s?c=f:s.sibling=f,s=f);return ra&&Qo(n,k),c}for(_=r(n,_);!f.done;k++,f=l.next())null!==(f=p(_,n,k,f.value,u))&&(e&&null!==f.alternate&&_.delete(null===f.key?k:f.key),a=o(f,a,k),null===s?c=f:s.sibling=f,s=f);return e&&_.forEach((function(e){return t(n,e)})),ra&&Qo(n,k),c}return function e(r,o,l,u){if("object"==typeof l&&null!==l&&l.type===ye&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case ge:e:{for(var c=l.key,s=o;null!==s;){if(s.key===c){if((c=l.type)===ye){if(7===s.tag){i(r,s.sibling),(o=n(s,l.props.children)).return=r,r=o;break e}}else if(s.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Ee&&Xa(c)===s.type){i(r,s.sibling),(o=n(s,l.props)).ref=ja(r,s,l),o.return=r,r=o;break e}i(r,s);break}t(r,s),s=s.sibling}l.type===ye?((o=Hs(l.props.children,r.mode,u,l.key)).return=r,r=o):((u=As(l.type,l.key,l.props,null,r.mode,u)).ref=ja(r,o,l),u.return=r,r=u)}return a(r);case be:e:{for(s=l.key;null!==o;){if(o.key===s){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){i(r,o.sibling),(o=n(o,l.children||[])).return=r,r=o;break e}i(r,o);break}t(r,o),o=o.sibling}(o=Ls(l,r.mode,u)).return=r,r=o}return a(r);case Ee:return e(r,o,(s=l._init)(l._payload),u)}if(Je(l))return _(r,o,l,u);if(Ae(l))return k(r,o,l,u);Ua(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==o&&6===o.tag?(i(r,o.sibling),(o=n(o,l)).return=r,r=o):(i(r,o),(o=Ms(l,r.mode,u)).return=r,r=o),a(r)):i(r,o)}}var $a=Ka(!0),qa=Ka(!1),Qa={},Za=wo(Qa),Ja=wo(Qa),el=wo(Qa);function tl(e){if(e===Qa)throw Error(re(174));return e}function il(e,t){switch(So(el,t),So(Ja,e),So(Za,Qa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:t=at(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}zo(Za),So(Za,t)}function rl(){zo(Za),zo(Ja),zo(el)}function nl(e){tl(el.current);var t=tl(Za.current),i=at(t,e.type);t!==i&&(So(Ja,e),So(Za,i))}function ol(e){Ja.current===e&&(zo(Za),zo(Ja))}var al=wo(0);function ll(e){for(var t=e;null!==t;){if(13===t.tag){var i=t.memoizedState;if(null!==i&&(null===(i=i.dehydrated)||"$?"===i.data||"$!"===i.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ul=[];function cl(){for(var e=0;e<ul.length;e++)ul[e]._workInProgressVersionPrimary=null;ul.length=0}var sl=me.ReactCurrentDispatcher,dl=me.ReactCurrentBatchConfig,vl=0,pl=null,_l=null,kl=null,hl=!1,fl=!1,ml=0,gl=0;function bl(){throw Error(re(321))}function yl(e,t){if(null===t)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!on(e[i],t[i]))return!1;return!0}function xl(e,t,i,r,n,o){if(vl=o,pl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,sl.current=null===e||null===e.memoizedState?ou:au,e=i(r,n),fl){o=0;do{if(fl=!1,ml=0,25<=o)throw Error(re(301));o+=1,kl=_l=null,t.updateQueue=null,sl.current=lu,e=i(r,n)}while(fl)}if(sl.current=nu,t=null!==_l&&null!==_l.next,vl=0,kl=_l=pl=null,hl=!1,t)throw Error(re(300));return e}function wl(){var e=0!==ml;return ml=0,e}function zl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===kl?pl.memoizedState=kl=e:kl=kl.next=e,kl}function Sl(){if(null===_l){var e=pl.alternate;e=null!==e?e.memoizedState:null}else e=_l.next;var t=null===kl?pl.memoizedState:kl.next;if(null!==t)kl=t,_l=e;else{if(null===e)throw Error(re(310));e={memoizedState:(_l=e).memoizedState,baseState:_l.baseState,baseQueue:_l.baseQueue,queue:_l.queue,next:null},null===kl?pl.memoizedState=kl=e:kl=kl.next=e}return kl}function Cl(e,t){return"function"==typeof t?t(e):t}function Il(e){var t=Sl(),i=t.queue;if(null===i)throw Error(re(311));i.lastRenderedReducer=e;var r=_l,n=r.baseQueue,o=i.pending;if(null!==o){if(null!==n){var a=n.next;n.next=o.next,o.next=a}r.baseQueue=n=o,i.pending=null}if(null!==n){o=n.next,r=r.baseState;var l=a=null,u=null,c=o;do{var s=c.lane;if((vl&s)===s)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:s,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=d,a=r):u=u.next=d,pl.lanes|=s,Nc|=s}c=c.next}while(null!==c&&c!==o);null===u?a=r:u.next=l,on(r,t.memoizedState)||(mu=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,i.lastRenderedState=r}if(null!==(e=i.interleaved)){n=e;do{o=n.lane,pl.lanes|=o,Nc|=o,n=n.next}while(n!==e)}else null===n&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function Pl(e){var t=Sl(),i=t.queue;if(null===i)throw Error(re(311));i.lastRenderedReducer=e;var r=i.dispatch,n=i.pending,o=t.memoizedState;if(null!==n){i.pending=null;var a=n=n.next;do{o=e(o,a.action),a=a.next}while(a!==n);on(o,t.memoizedState)||(mu=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),i.lastRenderedState=o}return[o,r]}function Bl(){}function El(e,t){var i=pl,r=Sl(),n=t(),o=!on(r.memoizedState,n);if(o&&(r.memoizedState=n,mu=!0),r=r.queue,Vl(Al.bind(null,i,r,e),[e]),r.getSnapshot!==t||o||null!==kl&&1&kl.memoizedState.tag){if(i.flags|=2048,Ll(9,Tl.bind(null,i,r,n,t),void 0,null),null===Pc)throw Error(re(349));30&vl||Rl(i,t,n)}return n}function Rl(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},null===(t=pl.updateQueue)?(t={lastEffect:null,stores:null},pl.updateQueue=t,t.stores=[e]):null===(i=t.stores)?t.stores=[e]:i.push(e)}function Tl(e,t,i,r){t.value=i,t.getSnapshot=r,Hl(t)&&Nl(e)}function Al(e,t,i){return i((function(){Hl(t)&&Nl(e)}))}function Hl(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!on(e,i)}catch(r){return!0}}function Nl(e){var t=Pa(e,1);null!==t&&ts(t,e,1,-1)}function Ml(e){var t=zl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cl,lastRenderedState:e},t.queue=e,e=e.dispatch=eu.bind(null,pl,e),[t.memoizedState,e]}function Ll(e,t,i,r){return e={tag:e,create:t,destroy:i,deps:r,next:null},null===(t=pl.updateQueue)?(t={lastEffect:null,stores:null},pl.updateQueue=t,t.lastEffect=e.next=e):null===(i=t.lastEffect)?t.lastEffect=e.next=e:(r=i.next,i.next=e,e.next=r,t.lastEffect=e),e}function Fl(){return Sl().memoizedState}function Dl(e,t,i,r){var n=zl();pl.flags|=e,n.memoizedState=Ll(1|t,i,void 0,void 0===r?null:r)}function Ol(e,t,i,r){var n=Sl();r=void 0===r?null:r;var o=void 0;if(null!==_l){var a=_l.memoizedState;if(o=a.destroy,null!==r&&yl(r,a.deps))return void(n.memoizedState=Ll(t,i,o,r))}pl.flags|=e,n.memoizedState=Ll(1|t,i,o,r)}function Wl(e,t){return Dl(8390656,8,e,t)}function Vl(e,t){return Ol(2048,8,e,t)}function Gl(e,t){return Ol(4,2,e,t)}function Yl(e,t){return Ol(4,4,e,t)}function jl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ul(e,t,i){return i=null!=i?i.concat([e]):null,Ol(4,4,jl.bind(null,t,e),i)}function Xl(){}function Kl(e,t){var i=Sl();t=void 0===t?null:t;var r=i.memoizedState;return null!==r&&null!==t&&yl(t,r[1])?r[0]:(i.memoizedState=[e,t],e)}function $l(e,t){var i=Sl();t=void 0===t?null:t;var r=i.memoizedState;return null!==r&&null!==t&&yl(t,r[1])?r[0]:(e=e(),i.memoizedState=[e,t],e)}function ql(e,t,i){return 21&vl?(on(i,t)||(i=pi(),pl.lanes|=i,Nc|=i,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,mu=!0),e.memoizedState=i)}function Ql(e,t){var i=fi;fi=0!==i&&4>i?i:4,e(!0);var r=dl.transition;dl.transition={};try{e(!1),t()}finally{fi=i,dl.transition=r}}function Zl(){return Sl().memoizedState}function Jl(e,t,i){var r=es(e);i={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null},tu(e)?iu(t,i):null!==(i=Ia(e,t,i,r))&&(ts(i,e,r,Jc()),ru(i,t,r))}function eu(e,t,i){var r=es(e),n={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null};if(tu(e))iu(t,n);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,i);if(n.hasEagerState=!0,n.eagerState=l,on(l,a)){var u=t.interleaved;return null===u?(n.next=n,Ca(t)):(n.next=u.next,u.next=n),void(t.interleaved=n)}}catch(Y){}null!==(i=Ia(e,t,n,r))&&(ts(i,e,r,n=Jc()),ru(i,t,r))}}function tu(e){var t=e.alternate;return e===pl||null!==t&&t===pl}function iu(e,t){fl=hl=!0;var i=e.pending;null===i?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ru(e,t,i){if(4194240&i){var r=t.lanes;i|=r&=e.pendingLanes,t.lanes=i,hi(e,i)}}var nu={readContext:za,useCallback:bl,useContext:bl,useEffect:bl,useImperativeHandle:bl,useInsertionEffect:bl,useLayoutEffect:bl,useMemo:bl,useReducer:bl,useRef:bl,useState:bl,useDebugValue:bl,useDeferredValue:bl,useTransition:bl,useMutableSource:bl,useSyncExternalStore:bl,useId:bl,unstable_isNewReconciler:!1},ou={readContext:za,useCallback:function(e,t){return zl().memoizedState=[e,void 0===t?null:t],e},useContext:za,useEffect:Wl,useImperativeHandle:function(e,t,i){return i=null!=i?i.concat([e]):null,Dl(4194308,4,jl.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dl(4,2,e,t)},useMemo:function(e,t){var i=zl();return t=void 0===t?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var r=zl();return t=void 0!==i?i(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Jl.bind(null,pl,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},zl().memoizedState=e},useState:Ml,useDebugValue:Xl,useDeferredValue:function(e){return zl().memoizedState=e},useTransition:function(){var e=Ml(!1),t=e[0];return e=Ql.bind(null,e[1]),zl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var r=pl,n=zl();if(ra){if(void 0===i)throw Error(re(407));i=i()}else{if(i=t(),null===Pc)throw Error(re(349));30&vl||Rl(r,t,i)}n.memoizedState=i;var o={value:i,getSnapshot:t};return n.queue=o,Wl(Al.bind(null,r,o,e),[e]),r.flags|=2048,Ll(9,Tl.bind(null,r,o,i,t),void 0,null),i},useId:function(){var e=zl(),t=Pc.identifierPrefix;if(ra){var i=qo;t=":"+t+"R"+(i=($o&~(1<<32-ni($o)-1)).toString(32)+i),0<(i=ml++)&&(t+="H"+i.toString(32)),t+=":"}else t=":"+t+"r"+(i=gl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},au={readContext:za,useCallback:Kl,useContext:za,useEffect:Vl,useImperativeHandle:Ul,useInsertionEffect:Gl,useLayoutEffect:Yl,useMemo:$l,useReducer:Il,useRef:Fl,useState:function(){return Il(Cl)},useDebugValue:Xl,useDeferredValue:function(e){return ql(Sl(),_l.memoizedState,e)},useTransition:function(){return[Il(Cl)[0],Sl().memoizedState]},useMutableSource:Bl,useSyncExternalStore:El,useId:Zl,unstable_isNewReconciler:!1},lu={readContext:za,useCallback:Kl,useContext:za,useEffect:Vl,useImperativeHandle:Ul,useInsertionEffect:Gl,useLayoutEffect:Yl,useMemo:$l,useReducer:Pl,useRef:Fl,useState:function(){return Pl(Cl)},useDebugValue:Xl,useDeferredValue:function(e){var t=Sl();return null===_l?t.memoizedState=e:ql(t,_l.memoizedState,e)},useTransition:function(){return[Pl(Cl)[0],Sl().memoizedState]},useMutableSource:Bl,useSyncExternalStore:El,useId:Zl,unstable_isNewReconciler:!1};function uu(e,t){try{var i="",r=t;do{i+=De(r),r=r.return}while(r);var n=i}catch(V){n="\nError generating stack: "+V.message+"\n"+V.stack}return{value:e,source:t,stack:n,digest:null}}function cu(e,t,i){return{value:e,source:null,stack:null!=i?i:null,digest:null!=t?t:null}}function su(e,t){try{console.error(t.value)}catch(i){setTimeout((function(){throw i}))}}var du="function"==typeof WeakMap?WeakMap:Map;function vu(e,t,i){(i=Ta(-1,i)).tag=3,i.payload={element:null};var r=t.value;return i.callback=function(){Gc||(Gc=!0,Yc=r),su(0,t)},i}function pu(e,t,i){(i=Ta(-1,i)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var n=t.value;i.payload=function(){return r(n)},i.callback=function(){su(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(i.callback=function(){su(0,t),"function"!=typeof r&&(null===jc?jc=new Set([this]):jc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),i}function _u(e,t,i){var r=e.pingCache;if(null===r){r=e.pingCache=new du;var n=new Set;r.set(t,n)}else void 0===(n=r.get(t))&&(n=new Set,r.set(t,n));n.has(i)||(n.add(i),e=zs.bind(null,e,t,i),t.then(e,e))}function ku(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function hu(e,t,i,r,n){return 1&e.mode?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,1===i.tag&&(null===i.alternate?i.tag=17:((t=Ta(-1,1)).tag=2,Aa(i,t,1))),i.lanes|=1),e)}var fu=me.ReactCurrentOwner,mu=!1;function gu(e,t,i,r){t.child=null===e?qa(t,null,i,r):$a(t,e.child,i,r)}function bu(e,t,i,r,n){i=i.render;var o=t.ref;return wa(t,n),r=xl(e,t,i,r,o,n),i=wl(),null===e||mu?(ra&&i&&Jo(t),t.flags|=1,gu(e,t,r,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Gu(e,t,n))}function yu(e,t,i,r,n){if(null===e){var o=i.type;return"function"!=typeof o||Rs(o)||void 0!==o.defaultProps||null!==i.compare||void 0!==i.defaultProps?((e=As(i.type,null,r,t,t.mode,n)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xu(e,t,o,r,n))}if(o=e.child,!(e.lanes&n)){var a=o.memoizedProps;if((i=null!==(i=i.compare)?i:an)(a,r)&&e.ref===t.ref)return Gu(e,t,n)}return t.flags|=1,(e=Ts(o,r)).ref=t.ref,e.return=t,t.child=e}function xu(e,t,i,r,n){if(null!==e){var o=e.memoizedProps;if(an(o,r)&&e.ref===t.ref){if(mu=!1,t.pendingProps=r=o,!(e.lanes&n))return t.lanes=e.lanes,Gu(e,t,n);131072&e.flags&&(mu=!0)}}return Su(e,t,i,r,n)}function wu(e,t,i){var r=t.pendingProps,n=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&i))return e=null!==o?o.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,So(Tc,Rc),Rc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:i,So(Tc,Rc),Rc|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},So(Tc,Rc),Rc|=i;else null!==o?(r=o.baseLanes|i,t.memoizedState=null):r=i,So(Tc,Rc),Rc|=r;return gu(e,t,n,i),t.child}function zu(e,t){var i=t.ref;(null===e&&null!==i||null!==e&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}function Su(e,t,i,r,n){var o=Ro(i)?Bo:Io.current;return o=Eo(t,o),wa(t,n),i=xl(e,t,i,r,o,n),r=wl(),null===e||mu?(ra&&r&&Jo(t),t.flags|=1,gu(e,t,i,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Gu(e,t,n))}function Cu(e,t,i,r,n){if(Ro(i)){var o=!0;No(t)}else o=!1;if(wa(t,n),null===t.stateNode)Vu(e,t),Va(t,i,r),Ya(t,i,r,n),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,c=i.contextType;c="object"==typeof c&&null!==c?za(c):Eo(t,c=Ro(i)?Bo:Io.current);var s=i.getDerivedStateFromProps,d="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==c)&&Ga(t,a,r,c),Ba=!1;var v=t.memoizedState;a.state=v,Ma(t,r,a,n),u=t.memoizedState,l!==r||v!==u||Po.current||Ba?("function"==typeof s&&(Da(t,i,s,r),u=t.memoizedState),(l=Ba||Wa(t,i,l,r,v,u,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ra(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ka(t.type,l),a.props=c,d=t.pendingProps,v=a.context,u="object"==typeof(u=i.contextType)&&null!==u?za(u):Eo(t,u=Ro(i)?Bo:Io.current);var p=i.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||v!==u)&&Ga(t,a,r,u),Ba=!1,v=t.memoizedState,a.state=v,Ma(t,r,a,n);var _=t.memoizedState;l!==d||v!==_||Po.current||Ba?("function"==typeof p&&(Da(t,i,p,r),_=t.memoizedState),(c=Ba||Wa(t,i,c,r,v,_,u)||!1)?(s||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,_,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,_,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),a.props=r,a.state=_,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Iu(e,t,i,r,o,n)}function Iu(e,t,i,r,n,o){zu(e,t);var a=!!(128&t.flags);if(!r&&!a)return n&&Mo(t,i,!1),Gu(e,t,o);r=t.stateNode,fu.current=t;var l=a&&"function"!=typeof i.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=$a(t,e.child,null,o),t.child=$a(t,null,l,o)):gu(e,t,l,o),t.memoizedState=r.state,n&&Mo(t,i,!0),t.child}function Pu(e){var t=e.stateNode;t.pendingContext?Ao(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ao(0,t.context,!1),il(e,t.containerInfo)}function Bu(e,t,i,r,n){return va(),pa(n),t.flags|=256,gu(e,t,i,r),t.child}var Eu,Ru,Tu,Au,Hu={dehydrated:null,treeContext:null,retryLane:0};function Nu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mu(e,t,i){var r,n=t.pendingProps,o=al.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),So(al,1&o),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=n.children,e=n.fallback,a?(n=t.mode,a=t.child,l={mode:"hidden",children:l},1&n||null===a?a=Ns(l,n,0,null):(a.childLanes=0,a.pendingProps=l),e=Hs(e,n,i,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Nu(i),t.memoizedState=Hu,e):Lu(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,i,r,n,o,a){if(i)return 256&t.flags?(t.flags&=-257,Fu(e,t,a,r=cu(Error(re(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,n=t.mode,r=Ns({mode:"visible",children:r.children},n,0,null),(o=Hs(o,n,a,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&$a(t,e.child,null,a),t.child.memoizedState=Nu(a),t.memoizedState=Hu,o);if(!(1&t.mode))return Fu(e,t,a,null);if("$!"===n.data){if(r=n.nextSibling&&n.nextSibling.dataset)var l=r.dgst;return r=l,Fu(e,t,a,r=cu(o=Error(re(419)),r,void 0))}if(l=!!(a&e.childLanes),mu||l){if(null!==(r=Pc)){switch(a&-a){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}0!==(n=n&(r.suspendedLanes|a)?0:n)&&n!==o.retryLane&&(o.retryLane=n,Pa(e,n),ts(r,e,n,-1))}return _s(),Fu(e,t,a,r=cu(Error(re(421))))}return"$?"===n.data?(t.flags|=128,t.child=e.child,t=Cs.bind(null,e),n._reactRetry=t,null):(e=o.treeContext,ia=lo(n.nextSibling),ta=t,ra=!0,na=null,null!==e&&(Uo[Xo++]=$o,Uo[Xo++]=qo,Uo[Xo++]=Ko,$o=e.id,qo=e.overflow,Ko=t),(t=Lu(t,r.children)).flags|=4096,t)}(e,t,l,n,r,o,i);if(a){a=n.fallback,l=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:n.children};return 1&l||t.child===o?(n=Ts(o,u)).subtreeFlags=14680064&o.subtreeFlags:((n=t.child).childLanes=0,n.pendingProps=u,t.deletions=null),null!==r?a=Ts(r,a):(a=Hs(a,l,i,null)).flags|=2,a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,l=null===(l=e.child.memoizedState)?Nu(i):{baseLanes:l.baseLanes|i,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~i,t.memoizedState=Hu,n}return e=(a=e.child).sibling,n=Ts(a,{mode:"visible",children:n.children}),!(1&t.mode)&&(n.lanes=i),n.return=t,n.sibling=null,null!==e&&(null===(i=t.deletions)?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n}function Lu(e,t){return(t=Ns({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fu(e,t,i,r){return null!==r&&pa(r),$a(t,e.child,null,i),(e=Lu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Du(e,t,i){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xa(e.return,t,i)}function Ou(e,t,i,r,n){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:n}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=i,o.tailMode=n)}function Wu(e,t,i){var r=t.pendingProps,n=r.revealOrder,o=r.tail;if(gu(e,t,r.children,i),2&(r=al.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Du(e,i,t);else if(19===e.tag)Du(e,i,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(So(al,r),1&t.mode)switch(n){case"forwards":for(i=t.child,n=null;null!==i;)null!==(e=i.alternate)&&null===ll(e)&&(n=i),i=i.sibling;null===(i=n)?(n=t.child,t.child=null):(n=i.sibling,i.sibling=null),Ou(t,!1,n,i,o);break;case"backwards":for(i=null,n=t.child,t.child=null;null!==n;){if(null!==(e=n.alternate)&&null===ll(e)){t.child=n;break}e=n.sibling,n.sibling=i,i=n,n=e}Ou(t,!0,i,null,o);break;case"together":Ou(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Vu(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gu(e,t,i){if(null!==e&&(t.dependencies=e.dependencies),Nc|=t.lanes,!(i&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(re(153));if(null!==t.child){for(i=Ts(e=t.child,e.pendingProps),t.child=i,i.return=t;null!==e.sibling;)e=e.sibling,(i=i.sibling=Ts(e,e.pendingProps)).return=t;i.sibling=null}return t.child}function Yu(e,t){if(!ra)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;null!==t;)null!==t.alternate&&(i=t),t=t.sibling;null===i?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var r=null;null!==i;)null!==i.alternate&&(r=i),i=i.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ju(e){var t=null!==e.alternate&&e.alternate.child===e.child,i=0,r=0;if(t)for(var n=e.child;null!==n;)i|=n.lanes|n.childLanes,r|=14680064&n.subtreeFlags,r|=14680064&n.flags,n.return=e,n=n.sibling;else for(n=e.child;null!==n;)i|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=i,t}function Uu(e,t,i){var r=t.pendingProps;switch(ea(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ju(t),null;case 1:case 17:return Ro(t.type)&&To(),ju(t),null;case 3:return r=t.stateNode,rl(),zo(Po),zo(Io),cl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(sa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==na&&(os(na),na=null))),Ru(e,t),ju(t),null;case 5:ol(t);var n=tl(el.current);if(i=t.type,null!==e&&null!=t.stateNode)Tu(e,t,i,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(re(166));return ju(t),null}if(e=tl(Za.current),sa(t)){r=t.stateNode,i=t.type;var o=t.memoizedProps;switch(r[so]=t,r[vo]=o,e=!!(1&t.mode),i){case"dialog":Ln("cancel",r),Ln("close",r);break;case"iframe":case"object":case"embed":Ln("load",r);break;case"video":case"audio":for(n=0;n<An.length;n++)Ln(An[n],r);break;case"source":Ln("error",r);break;case"img":case"image":case"link":Ln("error",r),Ln("load",r);break;case"details":Ln("toggle",r);break;case"input":Ke(r,o),Ln("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ln("invalid",r);break;case"textarea":it(r,o),Ln("invalid",r)}for(var a in ht(i,o),n=null,o)if(o.hasOwnProperty(a)){var l=o[a];"children"===a?"string"==typeof l?r.textContent!==l&&(!0!==o.suppressHydrationWarning&&qn(r.textContent,l,e),n=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==o.suppressHydrationWarning&&qn(r.textContent,l,e),n=["children",""+l]):oe.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&Ln("scroll",r)}switch(i){case"input":Ye(r),Qe(r,o,!0);break;case"textarea":Ye(r),nt(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Qn)}r=n,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===n.nodeType?n:n.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ot(i)),"http://www.w3.org/1999/xhtml"===e?"script"===i?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(i,{is:r.is}):(e=a.createElement(i),"select"===i&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,i),e[so]=t,e[vo]=r,Eu(e,t,!1,!1),t.stateNode=e;e:{switch(a=ft(i,r),i){case"dialog":Ln("cancel",e),Ln("close",e),n=r;break;case"iframe":case"object":case"embed":Ln("load",e),n=r;break;case"video":case"audio":for(n=0;n<An.length;n++)Ln(An[n],e);n=r;break;case"source":Ln("error",e),n=r;break;case"img":case"image":case"link":Ln("error",e),Ln("load",e),n=r;break;case"details":Ln("toggle",e),n=r;break;case"input":Ke(e,r),n=Xe(e,r),Ln("invalid",e);break;case"option":default:n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=Ne({},r,{value:void 0}),Ln("invalid",e);break;case"textarea":it(e,r),n=tt(e,r),Ln("invalid",e)}for(o in ht(i,n),l=n)if(l.hasOwnProperty(o)){var u=l[o];"style"===o?_t(e,u):"dangerouslySetInnerHTML"===o?null!=(u=u?u.__html:void 0)&&ct(e,u):"children"===o?"string"==typeof u?("textarea"!==i||""!==u)&&st(e,u):"number"==typeof u&&st(e,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(oe.hasOwnProperty(o)?null!=u&&"onScroll"===o&&Ln("scroll",e):null!=u&&fe(e,o,u,a))}switch(i){case"input":Ye(e),Qe(e,r,!1);break;case"textarea":Ye(e),nt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?et(e,!!r.multiple,o,!1):null!=r.defaultValue&&et(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof n.onClick&&(e.onclick=Qn)}switch(i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ju(t),null;case 6:if(e&&null!=t.stateNode)Au(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(re(166));if(i=tl(el.current),tl(Za.current),sa(t)){if(r=t.stateNode,i=t.memoizedProps,r[so]=t,(o=r.nodeValue!==i)&&null!==(e=ta))switch(e.tag){case 3:qn(r.nodeValue,i,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&qn(r.nodeValue,i,!!(1&e.mode))}o&&(t.flags|=4)}else(r=(9===i.nodeType?i:i.ownerDocument).createTextNode(r))[so]=t,t.stateNode=r}return ju(t),null;case 13:if(zo(al),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ra&&null!==ia&&1&t.mode&&!(128&t.flags))da(),va(),t.flags|=98560,o=!1;else if(o=sa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(re(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(re(317));o[so]=t}else va(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ju(t),o=!1}else null!==na&&(os(na),na=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=i,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&al.current?0===Ac&&(Ac=3):_s())),null!==t.updateQueue&&(t.flags|=4),ju(t),null);case 4:return rl(),Ru(e,t),null===e&&On(t.stateNode.containerInfo),ju(t),null;case 10:return ya(t.type._context),ju(t),null;case 19:if(zo(al),null===(o=t.memoizedState))return ju(t),null;if(r=!!(128&t.flags),null===(a=o.rendering))if(r)Yu(o,!1);else{if(0!==Ac||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=ll(e))){for(t.flags|=128,Yu(o,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=i,i=t.child;null!==i;)e=r,(o=i).flags&=14680066,null===(a=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return So(al,1&al.current|2),t.child}e=e.sibling}null!==o.tail&&$t()>Wc&&(t.flags|=128,r=!0,Yu(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ll(a))){if(t.flags|=128,r=!0,null!==(i=e.updateQueue)&&(t.updateQueue=i,t.flags|=4),Yu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!ra)return ju(t),null}else 2*$t()-o.renderingStartTime>Wc&&1073741824!==i&&(t.flags|=128,r=!0,Yu(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(i=o.last)?i.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=$t(),t.sibling=null,i=al.current,So(al,r?1&i|2:1&i),t):(ju(t),null);case 22:case 23:return ss(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Rc)&&(ju(t),6&t.subtreeFlags&&(t.flags|=8192)):ju(t),null;case 24:case 25:return null}throw Error(re(156,t.tag))}function Xu(e,t){switch(ea(t),t.tag){case 1:return Ro(t.type)&&To(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rl(),zo(Po),zo(Io),cl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ol(t),null;case 13:if(zo(al),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(re(340));va()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return zo(al),null;case 4:return rl(),null;case 10:return ya(t.type._context),null;case 22:case 23:return ss(),null;default:return null}}Eu=function(e,t){for(var i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Ru=function(){},Tu=function(e,t,i,r){var n=e.memoizedProps;if(n!==r){e=t.stateNode,tl(Za.current);var o,a=null;switch(i){case"input":n=Xe(e,n),r=Xe(e,r),a=[];break;case"select":n=Ne({},n,{value:void 0}),r=Ne({},r,{value:void 0}),a=[];break;case"textarea":n=tt(e,n),r=tt(e,r),a=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=Qn)}for(c in ht(i,r),i=null,n)if(!r.hasOwnProperty(c)&&n.hasOwnProperty(c)&&null!=n[c])if("style"===c){var l=n[c];for(o in l)l.hasOwnProperty(o)&&(i||(i={}),i[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(oe.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=n?n[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(i||(i={}),i[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(i||(i={}),i[o]=u[o])}else i||(a||(a=[]),a.push(c,i)),i=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(oe.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Ln("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}i&&(a=a||[]).push("style",i);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Au=function(e,t,i,r){i!==r&&(t.flags|=4)};var Ku=!1,$u=!1,qu="function"==typeof WeakSet?WeakSet:Set,Qu=null;function Zu(e,t){var i=e.ref;if(null!==i)if("function"==typeof i)try{i(null)}catch(r){ws(e,t,r)}else i.current=null}function Ju(e,t,i){try{i()}catch(r){ws(e,t,r)}}var ec=!1;function tc(e,t,i){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{if((n.tag&e)===e){var o=n.destroy;n.destroy=void 0,void 0!==o&&Ju(t,i,o)}n=n.next}while(n!==r)}}function ic(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var i=t=t.next;do{if((i.tag&e)===e){var r=i.create;i.destroy=r()}i=i.next}while(i!==t)}}function rc(e){var t=e.ref;if(null!==t){var i=e.stateNode;e.tag,e=i,"function"==typeof t?t(e):t.current=e}}function nc(e){var t=e.alternate;null!==t&&(e.alternate=null,nc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[so],delete t[vo],delete t[_o],delete t[ko],delete t[ho]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oc(e){return 5===e.tag||3===e.tag||4===e.tag}function ac(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function lc(e,t,i){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===i.nodeType?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(8===i.nodeType?(t=i.parentNode).insertBefore(e,i):(t=i).appendChild(e),null!=(i=i._reactRootContainer)||null!==t.onclick||(t.onclick=Qn));else if(4!==r&&null!==(e=e.child))for(lc(e,t,i),e=e.sibling;null!==e;)lc(e,t,i),e=e.sibling}function uc(e,t,i){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uc(e,t,i),e=e.sibling;null!==e;)uc(e,t,i),e=e.sibling}var cc=null,sc=!1;function dc(e,t,i){for(i=i.child;null!==i;)vc(e,t,i),i=i.sibling}function vc(e,t,i){if(ri&&"function"==typeof ri.onCommitFiberUnmount)try{ri.onCommitFiberUnmount(ii,i)}catch(l){}switch(i.tag){case 5:$u||Zu(i,t);case 6:var r=cc,n=sc;cc=null,dc(e,t,i),sc=n,null!==(cc=r)&&(sc?(e=cc,i=i.stateNode,8===e.nodeType?e.parentNode.removeChild(i):e.removeChild(i)):cc.removeChild(i.stateNode));break;case 18:null!==cc&&(sc?(e=cc,i=i.stateNode,8===e.nodeType?ao(e.parentNode,i):1===e.nodeType&&ao(e,i),Oi(e)):ao(cc,i.stateNode));break;case 4:r=cc,n=sc,cc=i.stateNode.containerInfo,sc=!0,dc(e,t,i),cc=r,sc=n;break;case 0:case 11:case 14:case 15:if(!$u&&null!==(r=i.updateQueue)&&null!==(r=r.lastEffect)){n=r=r.next;do{var o=n,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&Ju(i,t,a),n=n.next}while(n!==r)}dc(e,t,i);break;case 1:if(!$u&&(Zu(i,t),"function"==typeof(r=i.stateNode).componentWillUnmount))try{r.props=i.memoizedProps,r.state=i.memoizedState,r.componentWillUnmount()}catch(l){ws(i,t,l)}dc(e,t,i);break;case 21:dc(e,t,i);break;case 22:1&i.mode?($u=(r=$u)||null!==i.memoizedState,dc(e,t,i),$u=r):dc(e,t,i);break;default:dc(e,t,i)}}function pc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var i=e.stateNode;null===i&&(i=e.stateNode=new qu),t.forEach((function(t){var r=Is.bind(null,e,t);i.has(t)||(i.add(t),t.then(r,r))}))}}function _c(e,t){var i=t.deletions;if(null!==i)for(var r=0;r<i.length;r++){var n=i[r];try{var o=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:cc=l.stateNode,sc=!1;break e;case 3:case 4:cc=l.stateNode.containerInfo,sc=!0;break e}l=l.return}if(null===cc)throw Error(re(160));vc(o,a,n),cc=null,sc=!1;var u=n.alternate;null!==u&&(u.return=null),n.return=null}catch(Y){ws(n,t,Y)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)kc(t,e),t=t.sibling}function kc(e,t){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_c(t,e),hc(e),4&r){try{tc(3,e,e.return),ic(3,e)}catch(v){ws(e,e.return,v)}try{tc(5,e,e.return)}catch(v){ws(e,e.return,v)}}break;case 1:_c(t,e),hc(e),512&r&&null!==i&&Zu(i,i.return);break;case 5:if(_c(t,e),hc(e),512&r&&null!==i&&Zu(i,i.return),32&e.flags){var n=e.stateNode;try{st(n,"")}catch(v){ws(e,e.return,v)}}if(4&r&&null!=(n=e.stateNode)){var o=e.memoizedProps,a=null!==i?i.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===o.type&&null!=o.name&&$e(n,o),ft(l,a);var c=ft(l,o);for(a=0;a<u.length;a+=2){var s=u[a],d=u[a+1];"style"===s?_t(n,d):"dangerouslySetInnerHTML"===s?ct(n,d):"children"===s?st(n,d):fe(n,s,d,c)}switch(l){case"input":qe(n,o);break;case"textarea":rt(n,o);break;case"select":var p=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!o.multiple;var _=o.value;null!=_?et(n,!!o.multiple,_,!1):p!==!!o.multiple&&(null!=o.defaultValue?et(n,!!o.multiple,o.defaultValue,!0):et(n,!!o.multiple,o.multiple?[]:"",!1))}n[vo]=o}catch(v){ws(e,e.return,v)}}break;case 6:if(_c(t,e),hc(e),4&r){if(null===e.stateNode)throw Error(re(162));n=e.stateNode,o=e.memoizedProps;try{n.nodeValue=o}catch(v){ws(e,e.return,v)}}break;case 3:if(_c(t,e),hc(e),4&r&&null!==i&&i.memoizedState.isDehydrated)try{Oi(t.containerInfo)}catch(v){ws(e,e.return,v)}break;case 4:default:_c(t,e),hc(e);break;case 13:_c(t,e),hc(e),8192&(n=e.child).flags&&(o=null!==n.memoizedState,n.stateNode.isHidden=o,!o||null!==n.alternate&&null!==n.alternate.memoizedState||(Oc=$t())),4&r&&pc(e);break;case 22:if(s=null!==i&&null!==i.memoizedState,1&e.mode?($u=(c=$u)||s,_c(t,e),$u=c):_c(t,e),hc(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!s&&1&e.mode)for(Qu=e,s=e.child;null!==s;){for(d=Qu=s;null!==Qu;){switch(_=(p=Qu).child,p.tag){case 0:case 11:case 14:case 15:tc(4,p,p.return);break;case 1:Zu(p,p.return);var k=p.stateNode;if("function"==typeof k.componentWillUnmount){r=p,i=p.return;try{t=r,k.props=t.memoizedProps,k.state=t.memoizedState,k.componentWillUnmount()}catch(v){ws(r,i,v)}}break;case 5:Zu(p,p.return);break;case 22:if(null!==p.memoizedState){bc(d);continue}}null!==_?(_.return=p,Qu=_):bc(d)}s=s.sibling}e:for(s=null,d=e;;){if(5===d.tag){if(null===s){s=d;try{n=d.stateNode,c?"function"==typeof(o=n.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=d.stateNode,a=null!=(u=d.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=pt("display",a))}catch(v){ws(e,e.return,v)}}}else if(6===d.tag){if(null===s)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(v){ws(e,e.return,v)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;s===d&&(s=null),d=d.return}s===d&&(s=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:_c(t,e),hc(e),4&r&&pc(e);case 21:}}function hc(e){var t=e.flags;if(2&t){try{e:{for(var i=e.return;null!==i;){if(oc(i)){var r=i;break e}i=i.return}throw Error(re(160))}switch(r.tag){case 5:var n=r.stateNode;32&r.flags&&(st(n,""),r.flags&=-33),uc(e,ac(e),n);break;case 3:case 4:var o=r.stateNode.containerInfo;lc(e,ac(e),o);break;default:throw Error(re(161))}}catch(G){ws(e,e.return,G)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function fc(e,t,i){Qu=e,mc(e)}function mc(e,t,i){for(var r=!!(1&e.mode);null!==Qu;){var n=Qu,o=n.child;if(22===n.tag&&r){var a=null!==n.memoizedState||Ku;if(!a){var l=n.alternate,u=null!==l&&null!==l.memoizedState||$u;l=Ku;var c=$u;if(Ku=a,($u=u)&&!c)for(Qu=n;null!==Qu;)u=(a=Qu).child,22===a.tag&&null!==a.memoizedState?yc(n):null!==u?(u.return=a,Qu=u):yc(n);for(;null!==o;)Qu=o,mc(o),o=o.sibling;Qu=n,Ku=l,$u=c}gc(e)}else 8772&n.subtreeFlags&&null!==o?(o.return=n,Qu=o):gc(e)}}function gc(e){for(;null!==Qu;){var t=Qu;if(8772&t.flags){var i=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:$u||ic(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!$u)if(null===i)r.componentDidMount();else{var n=t.elementType===t.type?i.memoizedProps:ka(t.type,i.memoizedProps);r.componentDidUpdate(n,i.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&La(t,o,r);break;case 3:var a=t.updateQueue;if(null!==a){if(i=null,null!==t.child)switch(t.child.tag){case 5:case 1:i=t.child.stateNode}La(t,a,i)}break;case 5:var l=t.stateNode;if(null===i&&4&t.flags){i=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&i.focus();break;case"img":u.src&&(i.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var s=c.memoizedState;if(null!==s){var v=s.dehydrated;null!==v&&Oi(v)}}}break;default:throw Error(re(163))}$u||512&t.flags&&rc(t)}catch(d){ws(t,t.return,d)}}if(t===e){Qu=null;break}if(null!==(i=t.sibling)){i.return=t.return,Qu=i;break}Qu=t.return}}function bc(e){for(;null!==Qu;){var t=Qu;if(t===e){Qu=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Qu=i;break}Qu=t.return}}function yc(e){for(;null!==Qu;){var t=Qu;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{ic(4,t)}catch(G){ws(t,i,G)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var n=t.return;try{r.componentDidMount()}catch(G){ws(t,n,G)}}var o=t.return;try{rc(t)}catch(G){ws(t,o,G)}break;case 5:var a=t.return;try{rc(t)}catch(G){ws(t,a,G)}}}catch(G){ws(t,t.return,G)}if(t===e){Qu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Qu=l;break}Qu=t.return}}var xc,wc=Math.ceil,zc=me.ReactCurrentDispatcher,Sc=me.ReactCurrentOwner,Cc=me.ReactCurrentBatchConfig,Ic=0,Pc=null,Bc=null,Ec=0,Rc=0,Tc=wo(0),Ac=0,Hc=null,Nc=0,Mc=0,Lc=0,Fc=null,Dc=null,Oc=0,Wc=1/0,Vc=null,Gc=!1,Yc=null,jc=null,Uc=!1,Xc=null,Kc=0,$c=0,qc=null,Qc=-1,Zc=0;function Jc(){return 6&Ic?$t():-1!==Qc?Qc:Qc=$t()}function es(e){return 1&e.mode?2&Ic&&0!==Ec?Ec&-Ec:null!==_a.transition?(0===Zc&&(Zc=pi()),Zc):0!==(e=fi)?e:e=void 0===(e=window.event)?16:Ki(e.type):1}function ts(e,t,i,r){if(50<$c)throw $c=0,qc=null,Error(re(185));ki(e,i,r),2&Ic&&e===Pc||(e===Pc&&(!(2&Ic)&&(Mc|=i),4===Ac&&as(e,Ec)),is(e,r),1===i&&0===Ic&&!(1&t.mode)&&(Wc=$t()+500,Fo&&Wo()))}function is(e,t){var i=e.callbackNode;!function(e,t){for(var i=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-ni(o),l=1<<a,u=n[a];-1===u?l&i&&!(l&r)||(n[a]=di(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=si(e,e===Pc?Ec:0);if(0===r)null!==i&&Ut(i),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=i&&Ut(i),1===t)0===e.tag?function(e){Fo=!0,Oo(e)}(ls.bind(null,e)):Oo(ls.bind(null,e)),no((function(){!(6&Ic)&&Wo()})),i=null;else{switch(mi(r)){case 1:i=Qt;break;case 4:i=Zt;break;case 16:default:i=Jt;break;case 536870912:i=ti}i=Ps(i,rs.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function rs(e,t){if(Qc=-1,Zc=0,6&Ic)throw Error(re(327));var i=e.callbackNode;if(ys()&&e.callbackNode!==i)return null;var r=si(e,e===Pc?Ec:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=ks(e,r);else{t=r;var n=Ic;Ic|=2;var o=ps();for(Pc===e&&Ec===t||(Vc=null,Wc=$t()+500,ds(e,t));;)try{fs();break}catch(l){vs(e,l)}ba(),zc.current=o,Ic=n,null!==Bc?t=0:(Pc=null,Ec=0,t=Ac)}if(0!==t){if(2===t&&0!==(n=vi(e))&&(r=n,t=ns(e,n)),1===t)throw i=Hc,ds(e,0),as(e,r),is(e,$t()),i;if(6===t)as(e,r);else{if(n=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var i=t.updateQueue;if(null!==i&&null!==(i=i.stores))for(var r=0;r<i.length;r++){var n=i[r],o=n.getSnapshot;n=n.value;try{if(!on(o(),n))return!1}catch(a){return!1}}}if(i=t.child,16384&t.subtreeFlags&&null!==i)i.return=t,t=i;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)||(t=ks(e,r),2===t&&(o=vi(e),0!==o&&(r=o,t=ns(e,o))),1!==t)))throw i=Hc,ds(e,0),as(e,r),is(e,$t()),i;switch(e.finishedWork=n,e.finishedLanes=r,t){case 0:case 1:throw Error(re(345));case 2:case 5:bs(e,Dc,Vc);break;case 3:if(as(e,r),(130023424&r)===r&&10<(t=Oc+500-$t())){if(0!==si(e,0))break;if(((n=e.suspendedLanes)&r)!==r){Jc(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=to(bs.bind(null,e,Dc,Vc),t);break}bs(e,Dc,Vc);break;case 4:if(as(e,r),(4194240&r)===r)break;for(t=e.eventTimes,n=-1;0<r;){var a=31-ni(r);o=1<<a,(a=t[a])>n&&(n=a),r&=~o}if(r=n,10<(r=(120>(r=$t()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*wc(r/1960))-r)){e.timeoutHandle=to(bs.bind(null,e,Dc,Vc),r);break}bs(e,Dc,Vc);break;default:throw Error(re(329))}}}return is(e,$t()),e.callbackNode===i?rs.bind(null,e):null}function ns(e,t){var i=Fc;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=ks(e,t))&&(t=Dc,Dc=i,null!==t&&os(t)),e}function os(e){null===Dc?Dc=e:Dc.push.apply(Dc,e)}function as(e,t){for(t&=~Lc,t&=~Mc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-ni(t),r=1<<i;e[i]=-1,t&=~r}}function ls(e){if(6&Ic)throw Error(re(327));ys();var t=si(e,0);if(!(1&t))return is(e,$t()),null;var i=ks(e,t);if(0!==e.tag&&2===i){var r=vi(e);0!==r&&(t=r,i=ns(e,r))}if(1===i)throw i=Hc,ds(e,0),as(e,t),is(e,$t()),i;if(6===i)throw Error(re(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,bs(e,Dc,Vc),is(e,$t()),null}function us(e,t){var i=Ic;Ic|=1;try{return e(t)}finally{0===(Ic=i)&&(Wc=$t()+500,Fo&&Wo())}}function cs(e){null!==Xc&&0===Xc.tag&&!(6&Ic)&&ys();var t=Ic;Ic|=1;var i=Cc.transition,r=fi;try{if(Cc.transition=null,fi=1,e)return e()}finally{fi=r,Cc.transition=i,!(6&(Ic=t))&&Wo()}}function ss(){Rc=Tc.current,zo(Tc)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(-1!==i&&(e.timeoutHandle=-1,io(i)),null!==Bc)for(i=Bc.return;null!==i;){var r=i;switch(ea(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&To();break;case 3:rl(),zo(Po),zo(Io),cl();break;case 5:ol(r);break;case 4:rl();break;case 13:case 19:zo(al);break;case 10:ya(r.type._context);break;case 22:case 23:ss()}i=i.return}if(Pc=e,Bc=e=Ts(e.current,null),Ec=Rc=t,Ac=0,Hc=null,Lc=Mc=Nc=0,Dc=Fc=null,null!==Sa){for(t=0;t<Sa.length;t++)if(null!==(r=(i=Sa[t]).interleaved)){i.interleaved=null;var n=r.next,o=i.pending;if(null!==o){var a=o.next;o.next=n,r.next=a}i.pending=r}Sa=null}return e}function vs(e,t){for(;;){var i=Bc;try{if(ba(),sl.current=nu,hl){for(var r=pl.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}hl=!1}if(vl=0,kl=_l=pl=null,fl=!1,ml=0,Sc.current=null,null===i||null===i.return){Ac=1,Hc=t,Bc=null;break}e:{var o=e,a=i.return,l=i,u=t;if(t=Ec,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,s=l,d=s.tag;if(!(1&s.mode||0!==d&&11!==d&&15!==d)){var v=s.alternate;v?(s.updateQueue=v.updateQueue,s.memoizedState=v.memoizedState,s.lanes=v.lanes):(s.updateQueue=null,s.memoizedState=null)}var p=ku(a);if(null!==p){p.flags&=-257,hu(p,a,l,0,t),1&p.mode&&_u(o,c,t),u=c;var _=(t=p).updateQueue;if(null===_){var k=new Set;k.add(u),t.updateQueue=k}else _.add(u);break e}if(!(1&t)){_u(o,c,t),_s();break e}u=Error(re(426))}else if(ra&&1&l.mode){var h=ku(a);if(null!==h){!(65536&h.flags)&&(h.flags|=256),hu(h,a,l,0,t),pa(uu(u,l));break e}}o=u=uu(u,l),4!==Ac&&(Ac=2),null===Fc?Fc=[o]:Fc.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Na(o,vu(0,u,t));break e;case 1:l=u;var f=o.type,m=o.stateNode;if(!(128&o.flags||"function"!=typeof f.getDerivedStateFromError&&(null===m||"function"!=typeof m.componentDidCatch||null!==jc&&jc.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t,Na(o,pu(o,l,t));break e}}o=o.return}while(null!==o)}gs(i)}catch(g){t=g,Bc===i&&null!==i&&(Bc=i=i.return);continue}break}}function ps(){var e=zc.current;return zc.current=nu,null===e?nu:e}function _s(){0!==Ac&&3!==Ac&&2!==Ac||(Ac=4),null===Pc||!(268435455&Nc)&&!(268435455&Mc)||as(Pc,Ec)}function ks(e,t){var i=Ic;Ic|=2;var r=ps();for(Pc===e&&Ec===t||(Vc=null,ds(e,t));;)try{hs();break}catch(n){vs(e,n)}if(ba(),Ic=i,zc.current=r,null!==Bc)throw Error(re(261));return Pc=null,Ec=0,Ac}function hs(){for(;null!==Bc;)ms(Bc)}function fs(){for(;null!==Bc&&!Xt();)ms(Bc)}function ms(e){var t=xc(e.alternate,e,Rc);e.memoizedProps=e.pendingProps,null===t?gs(e):Bc=t,Sc.current=null}function gs(e){var t=e;do{var i=t.alternate;if(e=t.return,32768&t.flags){if(null!==(i=Xu(i,t)))return i.flags&=32767,void(Bc=i);if(null===e)return Ac=6,void(Bc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(i=Uu(i,t,Rc)))return void(Bc=i);if(null!==(t=t.sibling))return void(Bc=t);Bc=t=e}while(null!==t);0===Ac&&(Ac=5)}function bs(e,t,i){var r=fi,n=Cc.transition;try{Cc.transition=null,fi=1,function(e,t,i,r){do{ys()}while(null!==Xc);if(6&Ic)throw Error(re(327));i=e.finishedWork;var n=e.finishedLanes;if(null===i)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(re(177));e.callbackNode=null,e.callbackPriority=0;var o=i.lanes|i.childLanes;if(function(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<i;){var n=31-ni(i),o=1<<n;t[n]=0,r[n]=-1,e[n]=-1,i&=~o}}(e,o),e===Pc&&(Bc=Pc=null,Ec=0),!(2064&i.subtreeFlags)&&!(2064&i.flags)||Uc||(Uc=!0,Ps(Jt,(function(){return ys(),null}))),o=!!(15990&i.flags),15990&i.subtreeFlags||o){o=Cc.transition,Cc.transition=null;var a=fi;fi=1;var l=Ic;Ic|=4,Sc.current=null,function(e,t){if(Zn=Vi,dn(e=sn())){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(i=(i=e.ownerDocument)&&i.defaultView||window).getSelection&&i.getSelection();if(r&&0!==r.rangeCount){i=r.anchorNode;var n=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{i.nodeType,o.nodeType}catch(w){i=null;break e}var a=0,l=-1,u=-1,c=0,s=0,d=e,v=null;t:for(;;){for(var p;d!==i||0!==n&&3!==d.nodeType||(l=a+n),d!==o||0!==r&&3!==d.nodeType||(u=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(p=d.firstChild);)v=d,d=p;for(;;){if(d===e)break t;if(v===i&&++c===n&&(l=a),v===o&&++s===r&&(u=a),null!==(p=d.nextSibling))break;v=(d=v).parentNode}d=p}i=-1===l||-1===u?null:{start:l,end:u}}else i=null}i=i||{start:0,end:0}}else i=null;for(Jn={focusedElem:e,selectionRange:i},Vi=!1,Qu=t;null!==Qu;)if(e=(t=Qu).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qu=e;else for(;null!==Qu;){t=Qu;try{var _=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==_){var k=_.memoizedProps,h=_.memoizedState,f=t.stateNode,m=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:ka(t.type,k),h);f.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;1===g.nodeType?g.textContent="":9===g.nodeType&&g.documentElement&&g.removeChild(g.documentElement);break;default:throw Error(re(163))}}catch(w){ws(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Qu=e;break}Qu=t.return}_=ec,ec=!1}(e,i),kc(i,e),vn(Jn),Vi=!!Zn,Jn=Zn=null,e.current=i,fc(i),Kt(),Ic=l,fi=a,Cc.transition=o}else e.current=i;if(Uc&&(Uc=!1,Xc=e,Kc=n),0===(o=e.pendingLanes)&&(jc=null),function(e){if(ri&&"function"==typeof ri.onCommitFiberRoot)try{ri.onCommitFiberRoot(ii,e,void 0,!(128&~e.current.flags))}catch(t){}}(i.stateNode),is(e,$t()),null!==t)for(r=e.onRecoverableError,i=0;i<t.length;i++)n=t[i],r(n.value,{componentStack:n.stack,digest:n.digest});if(Gc)throw Gc=!1,e=Yc,Yc=null,e;!!(1&Kc)&&0!==e.tag&&ys(),1&(o=e.pendingLanes)?e===qc?$c++:($c=0,qc=e):$c=0,Wo()}(e,t,i,r)}finally{Cc.transition=n,fi=r}return null}function ys(){if(null!==Xc){var e=mi(Kc),t=Cc.transition,i=fi;try{if(Cc.transition=null,fi=16>e?16:e,null===Xc)var r=!1;else{if(e=Xc,Xc=null,Kc=0,6&Ic)throw Error(re(331));var n=Ic;for(Ic|=4,Qu=e.current;null!==Qu;){var o=Qu,a=o.child;if(16&Qu.flags){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Qu=c;null!==Qu;){var s=Qu;switch(s.tag){case 0:case 11:case 15:tc(8,s,o)}var d=s.child;if(null!==d)d.return=s,Qu=d;else for(;null!==Qu;){var v=(s=Qu).sibling,p=s.return;if(nc(s),s===c){Qu=null;break}if(null!==v){v.return=p,Qu=v;break}Qu=p}}}var _=o.alternate;if(null!==_){var k=_.child;if(null!==k){_.child=null;do{var h=k.sibling;k.sibling=null,k=h}while(null!==k)}}Qu=o}}if(2064&o.subtreeFlags&&null!==a)a.return=o,Qu=a;else e:for(;null!==Qu;){if(2048&(o=Qu).flags)switch(o.tag){case 0:case 11:case 15:tc(9,o,o.return)}var f=o.sibling;if(null!==f){f.return=o.return,Qu=f;break e}Qu=o.return}}var m=e.current;for(Qu=m;null!==Qu;){var g=(a=Qu).child;if(2064&a.subtreeFlags&&null!==g)g.return=a,Qu=g;else e:for(a=m;null!==Qu;){if(2048&(l=Qu).flags)try{switch(l.tag){case 0:case 11:case 15:ic(9,l)}}catch(y){ws(l,l.return,y)}if(l===a){Qu=null;break e}var b=l.sibling;if(null!==b){b.return=l.return,Qu=b;break e}Qu=l.return}}if(Ic=n,Wo(),ri&&"function"==typeof ri.onPostCommitFiberRoot)try{ri.onPostCommitFiberRoot(ii,e)}catch(y){}r=!0}return r}finally{fi=i,Cc.transition=t}}return!1}function xs(e,t,i){e=Aa(e,t=vu(0,t=uu(i,t),1),1),t=Jc(),null!==e&&(ki(e,1,t),is(e,t))}function ws(e,t,i){if(3===e.tag)xs(e,e,i);else for(;null!==t;){if(3===t.tag){xs(t,e,i);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===jc||!jc.has(r))){t=Aa(t,e=pu(t,e=uu(i,e),1),1),e=Jc(),null!==t&&(ki(t,1,e),is(t,e));break}}t=t.return}}function zs(e,t,i){var r=e.pingCache;null!==r&&r.delete(t),t=Jc(),e.pingedLanes|=e.suspendedLanes&i,Pc===e&&(Ec&i)===i&&(4===Ac||3===Ac&&(130023424&Ec)===Ec&&500>$t()-Oc?ds(e,0):Lc|=i),is(e,t)}function Ss(e,t){0===t&&(1&e.mode?(t=ui,!(130023424&(ui<<=1))&&(ui=4194304)):t=1);var i=Jc();null!==(e=Pa(e,t))&&(ki(e,t,i),is(e,i))}function Cs(e){var t=e.memoizedState,i=0;null!==t&&(i=t.retryLane),Ss(e,i)}function Is(e,t){var i=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;null!==n&&(i=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(re(314))}null!==r&&r.delete(t),Ss(e,i)}function Ps(e,t){return jt(e,t)}function Bs(e,t,i,r){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Es(e,t,i,r){return new Bs(e,t,i,r)}function Rs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ts(e,t){var i=e.alternate;return null===i?((i=Es(e.tag,t,e.key,e.mode)).elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=14680064&e.flags,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function As(e,t,i,r,n,o){var a=2;if(r=e,"function"==typeof e)Rs(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case ye:return Hs(i.children,n,o,t);case xe:a=8,n|=8;break;case we:return(e=Es(12,i,t,2|n)).elementType=we,e.lanes=o,e;case Ie:return(e=Es(13,i,t,n)).elementType=Ie,e.lanes=o,e;case Pe:return(e=Es(19,i,t,n)).elementType=Pe,e.lanes=o,e;case Re:return Ns(i,n,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ze:a=10;break e;case Se:a=9;break e;case Ce:a=11;break e;case Be:a=14;break e;case Ee:a=16,r=null;break e}throw Error(re(130,null==e?e:typeof e,""))}return(t=Es(a,i,t,n)).elementType=e,t.type=r,t.lanes=o,t}function Hs(e,t,i,r){return(e=Es(7,e,r,t)).lanes=i,e}function Ns(e,t,i,r){return(e=Es(22,e,r,t)).elementType=Re,e.lanes=i,e.stateNode={isHidden:!1},e}function Ms(e,t,i){return(e=Es(6,e,null,t)).lanes=i,e}function Ls(e,t,i){return(t=Es(4,null!==e.children?e.children:[],e.key,t)).lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fs(e,t,i,r,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_i(0),this.expirationTimes=_i(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_i(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Ds(e,t,i,r,n,o,a,l,u){return e=new Fs(e,t,i,l,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Es(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ea(o),e}function Os(e){if(!e)return Co;e:{if(Ot(e=e._reactInternals)!==e||1!==e.tag)throw Error(re(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(re(171))}if(1===e.tag){var i=e.type;if(Ro(i))return Ho(e,i,t)}return t}function Ws(e,t,i,r,n,o,a,l,u){return(e=Ds(i,r,!0,e,0,o,0,l,u)).context=Os(null),i=e.current,(o=Ta(r=Jc(),n=es(i))).callback=null!=t?t:null,Aa(i,o,n),e.current.lanes=n,ki(e,n,r),is(e,r),e}function Vs(e,t,i,r){var n=t.current,o=Jc(),a=es(n);return i=Os(i),null===t.context?t.context=i:t.pendingContext=i,(t=Ta(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Aa(n,t,a))&&(ts(e,n,a,o),Ha(e,n,a)),a}function Gs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ys(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var i=e.retryLane;e.retryLane=0!==i&&i<t?i:t}}function js(e,t){Ys(e,t),(e=e.alternate)&&Ys(e,t)}xc=function(e,t,i){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)mu=!0;else{if(!(e.lanes&i||128&t.flags))return mu=!1,function(e,t,i){switch(t.tag){case 3:Pu(t),va();break;case 5:nl(t);break;case 1:Ro(t.type)&&No(t);break;case 4:il(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,n=t.memoizedProps.value;So(ha,r._currentValue),r._currentValue=n;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(So(al,1&al.current),t.flags|=128,null):i&t.child.childLanes?Mu(e,t,i):(So(al,1&al.current),null!==(e=Gu(e,t,i))?e.sibling:null);So(al,1&al.current);break;case 19:if(r=!!(i&t.childLanes),128&e.flags){if(r)return Wu(e,t,i);t.flags|=128}if(null!==(n=t.memoizedState)&&(n.rendering=null,n.tail=null,n.lastEffect=null),So(al,al.current),r)break;return null;case 22:case 23:return t.lanes=0,wu(e,t,i)}return Gu(e,t,i)}(e,t,i);mu=!!(131072&e.flags)}else mu=!1,ra&&1048576&t.flags&&Zo(t,jo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vu(e,t),e=t.pendingProps;var n=Eo(t,Io.current);wa(t,i),n=xl(null,t,r,e,n,i);var o=wl();return t.flags|=1,"object"==typeof n&&null!==n&&"function"==typeof n.render&&void 0===n.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(o=!0,No(t)):o=!1,t.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,Ea(t),n.updater=Oa,t.stateNode=n,n._reactInternals=t,Ya(t,r,e,i),t=Iu(null,t,r,!0,o,i)):(t.tag=0,ra&&o&&Jo(t),gu(null,t,n,i),t=t.child),t;case 16:r=t.elementType;e:{switch(Vu(e,t),e=t.pendingProps,r=(n=r._init)(r._payload),t.type=r,n=t.tag=function(e){if("function"==typeof e)return Rs(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ce)return 11;if(e===Be)return 14}return 2}(r),e=ka(r,e),n){case 0:t=Su(null,t,r,e,i);break e;case 1:t=Cu(null,t,r,e,i);break e;case 11:t=bu(null,t,r,e,i);break e;case 14:t=yu(null,t,r,ka(r.type,e),i);break e}throw Error(re(306,r,""))}return t;case 0:return r=t.type,n=t.pendingProps,Su(e,t,r,n=t.elementType===r?n:ka(r,n),i);case 1:return r=t.type,n=t.pendingProps,Cu(e,t,r,n=t.elementType===r?n:ka(r,n),i);case 3:e:{if(Pu(t),null===e)throw Error(re(387));r=t.pendingProps,n=(o=t.memoizedState).element,Ra(e,t),Ma(t,r,null,i);var a=t.memoizedState;if(r=a.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Bu(e,t,r,i,n=uu(Error(re(423)),t));break e}if(r!==n){t=Bu(e,t,r,i,n=uu(Error(re(424)),t));break e}for(ia=lo(t.stateNode.containerInfo.firstChild),ta=t,ra=!0,na=null,i=qa(t,null,r,i),t.child=i;i;)i.flags=-3&i.flags|4096,i=i.sibling}else{if(va(),r===n){t=Gu(e,t,i);break e}gu(e,t,r,i)}t=t.child}return t;case 5:return nl(t),null===e&&ua(t),r=t.type,n=t.pendingProps,o=null!==e?e.memoizedProps:null,a=n.children,eo(r,n)?a=null:null!==o&&eo(r,o)&&(t.flags|=32),zu(e,t),gu(e,t,a,i),t.child;case 6:return null===e&&ua(t),null;case 13:return Mu(e,t,i);case 4:return il(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=$a(t,null,r,i):gu(e,t,r,i),t.child;case 11:return r=t.type,n=t.pendingProps,bu(e,t,r,n=t.elementType===r?n:ka(r,n),i);case 7:return gu(e,t,t.pendingProps,i),t.child;case 8:case 12:return gu(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(r=t.type._context,n=t.pendingProps,o=t.memoizedProps,a=n.value,So(ha,r._currentValue),r._currentValue=a,null!==o)if(on(o.value,a)){if(o.children===n.children&&!Po.current){t=Gu(e,t,i);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){a=o.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===o.tag){(u=Ta(-1,i&-i)).tag=2;var c=o.updateQueue;if(null!==c){var s=(c=c.shared).pending;null===s?u.next=u:(u.next=s.next,s.next=u),c.pending=u}}o.lanes|=i,null!==(u=o.alternate)&&(u.lanes|=i),xa(o.return,i,t),l.lanes|=i;break}u=u.next}}else if(10===o.tag)a=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(a=o.return))throw Error(re(341));a.lanes|=i,null!==(l=a.alternate)&&(l.lanes|=i),xa(a,i,t),a=o.sibling}else a=o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===t){a=null;break}if(null!==(o=a.sibling)){o.return=a.return,a=o;break}a=a.return}o=a}gu(e,t,n.children,i),t=t.child}return t;case 9:return n=t.type,r=t.pendingProps.children,wa(t,i),r=r(n=za(n)),t.flags|=1,gu(e,t,r,i),t.child;case 14:return n=ka(r=t.type,t.pendingProps),yu(e,t,r,n=ka(r.type,n),i);case 15:return xu(e,t,t.type,t.pendingProps,i);case 17:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:ka(r,n),Vu(e,t),t.tag=1,Ro(r)?(e=!0,No(t)):e=!1,wa(t,i),Va(t,r,n),Ya(t,r,n,i),Iu(null,t,r,!0,e,i);case 19:return Wu(e,t,i);case 22:return wu(e,t,i)}throw Error(re(156,t.tag))};var Us="function"==typeof reportError?reportError:function(e){console.error(e)};function Xs(e){this._internalRoot=e}function Ks(e){this._internalRoot=e}function $s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function qs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qs(){}function Zs(e,t,i,r,n){var o=i._reactRootContainer;if(o){var a=o;if("function"==typeof n){var l=n;n=function(){var e=Gs(a);l.call(e)}}Vs(t,a,e,n)}else a=function(e,t,i,r,n){if(n){if("function"==typeof r){var o=r;r=function(){var e=Gs(a);o.call(e)}}var a=Ws(t,r,e,0,null,!1,0,"",Qs);return e._reactRootContainer=a,e[po]=a.current,On(8===e.nodeType?e.parentNode:e),cs(),a}for(;n=e.lastChild;)e.removeChild(n);if("function"==typeof r){var l=r;r=function(){var e=Gs(u);l.call(e)}}var u=Ds(e,0,!1,null,0,!1,0,"",Qs);return e._reactRootContainer=u,e[po]=u.current,On(8===e.nodeType?e.parentNode:e),cs((function(){Vs(t,u,i,r)})),u}(i,t,e,n,r);return Gs(a)}Ks.prototype.render=Xs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(re(409));Vs(e,t,null,null)},Ks.prototype.unmount=Xs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cs((function(){Vs(null,e,null,null)})),t[po]=null}},Ks.prototype.unstable_scheduleHydration=function(e){if(e){var t=xi();e={blockedOn:null,target:e,priority:t};for(var i=0;i<Ri.length&&0!==t&&t<Ri[i].priority;i++);Ri.splice(i,0,e),0===i&&Ni(e)}},gi=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=ci(t.pendingLanes);0!==i&&(hi(t,1|i),is(t,$t()),!(6&Ic)&&(Wc=$t()+500,Wo()))}break;case 13:cs((function(){var t=Pa(e,1);if(null!==t){var i=Jc();ts(t,e,1,i)}})),js(e,1)}},bi=function(e){if(13===e.tag){var t=Pa(e,134217728);null!==t&&ts(t,e,134217728,Jc()),js(e,134217728)}},yi=function(e){if(13===e.tag){var t=es(e),i=Pa(e,t);null!==i&&ts(i,e,t,Jc()),js(e,t)}},xi=function(){return fi},wi=function(e,t){var i=fi;try{return fi=e,t()}finally{fi=i}},bt=function(e,t,i){switch(t){case"input":if(qe(e,i),t=i.name,"radio"===i.type&&null!=t){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++){var r=i[t];if(r!==e&&r.form===e.form){var n=bo(r);if(!n)throw Error(re(90));je(r),qe(r,n)}}}break;case"textarea":rt(e,i);break;case"select":null!=(t=i.value)&&et(e,!!i.multiple,t,!1)}},Ct=us,It=cs;var Js={usingClientEntryPoint:!1,Events:[mo,go,bo,zt,St,us]},ed={findFiberByHostInstance:fo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},td={bundleType:ed.bundleType,version:ed.version,rendererPackageName:ed.rendererPackageName,rendererConfig:ed.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:me.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Gt(e))?null:e.stateNode},findFiberByHostInstance:ed.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var id=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!id.isDisabled&&id.supportsFiber)try{ii=id.inject(td),ri=id}catch(ut){}}Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Js,Q.createPortal=function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$s(t))throw Error(re(200));return function(e,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:be,key:null==r?null:""+r,children:e,containerInfo:t,implementation:i}}(e,t,null,i)},Q.createRoot=function(e,t){if(!$s(e))throw Error(re(299));var i=!1,r="",n=Us;return null!=t&&(!0===t.unstable_strictMode&&(i=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(n=t.onRecoverableError)),t=Ds(e,1,!1,null,0,i,0,r,n),e[po]=t.current,On(8===e.nodeType?e.parentNode:e),new Xs(t)},Q.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(re(188));throw e=Object.keys(e).join(","),Error(re(268,e))}return e=null===(e=Gt(t))?null:e.stateNode},Q.flushSync=function(e){return cs(e)},Q.hydrate=function(e,t,i){if(!qs(t))throw Error(re(200));return Zs(null,e,t,!0,i)},Q.hydrateRoot=function(e,t,i){if(!$s(e))throw Error(re(405));var r=null!=i&&i.hydratedSources||null,n=!1,o="",a=Us;if(null!=i&&(!0===i.unstable_strictMode&&(n=!0),void 0!==i.identifierPrefix&&(o=i.identifierPrefix),void 0!==i.onRecoverableError&&(a=i.onRecoverableError)),t=Ws(t,null,e,1,null!=i?i:null,n,0,o,a),e[po]=t.current,On(e),r)for(e=0;e<r.length;e++)n=(n=(i=r[e])._getVersion)(i._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[i,n]:t.mutableSourceEagerHydrationData.push(i,n);return new Ks(t)},Q.render=function(e,t,i){if(!qs(t))throw Error(re(200));return Zs(null,e,t,!1,i)},Q.unmountComponentAtNode=function(e){if(!qs(e))throw Error(re(40));return!!e._reactRootContainer&&(cs((function(){Zs(null,null,e,!1,(function(){e._reactRootContainer=null,e[po]=null}))})),!0)},Q.unstable_batchedUpdates=us,Q.unstable_renderSubtreeIntoContainer=function(e,t,i,r){if(!qs(i))throw Error(re(200));if(null==e||void 0===e._reactInternals)throw Error(re(38));return Zs(e,t,i,!1,r)},Q.version="18.2.0-next-9e3b772b8-20220608",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),q.exports=Q;var rd,nd=q.exports,od=nd;rd=od.createRoot,od.hydrateRoot;var ad=function(){return ad=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},ad.apply(this,arguments)};function ld(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function ud(e,t,i){var r=function(e){var t={current:0,next:function(){return++this.current}},i={};return{add:function(r,n){var o=null!=n?n:"".concat(t.next(),"_").concat(e);return i[o]=r,o},resolve:function(e,t,r){var n=i[e];n&&(r(t)?n.resolve(t):n.reject(t),i[e]=null)}}}(i);return t((function(e){if(e.detail&&e.detail.data&&"object"==typeof e.detail.data&&"request_id"in e.detail.data){var t=e.detail.data,i=t.request_id,n=function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]])}return i}(t,["request_id"]);i&&r.resolve(i,n,(function(e){return!("error_type"in e)}))}})),function(t,i){return void 0===i&&(i={}),new Promise((function(n,o){var a=r.add({resolve:n,reject:o},i.request_id);e(t,ad(ad({},i),{request_id:a}))}))}}var cd,sd,dd,vd,pd,_d,kd,hd,fd="undefined"!=typeof window,md=Boolean(fd&&window.AndroidBridge),gd=Boolean(fd&&window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.VKWebAppClose),bd=Boolean(fd&&window.ReactNativeWebView&&"function"==typeof window.ReactNativeWebView.postMessage),yd=fd&&!md&&!gd,xd=yd&&/(^\?|&)vk_platform=mobile_web(&|$)/.test(location.search),wd=yd?"message":"VKWebAppEvent",zd=ld(["VKWebAppInit","VKWebAppGetCommunityAuthToken","VKWebAppAddToCommunity","VKWebAppAddToHomeScreenInfo","VKWebAppClose","VKWebAppCopyText","VKWebAppCreateHash","VKWebAppGetUserInfo","VKWebAppSetLocation","VKWebAppSendToClient","VKWebAppGetClientVersion","VKWebAppGetPhoneNumber","VKWebAppGetEmail","VKWebAppGetGroupInfo","VKWebAppGetGeodata","VKWebAppGetCommunityToken","VKWebAppGetConfig","VKWebAppGetLaunchParams","VKWebAppSetTitle","VKWebAppGetAuthToken","VKWebAppCallAPIMethod","VKWebAppJoinGroup","VKWebAppLeaveGroup","VKWebAppAllowMessagesFromGroup","VKWebAppDenyNotifications","VKWebAppAllowNotifications","VKWebAppOpenPayForm","VKWebAppOpenApp","VKWebAppShare","VKWebAppShowWallPostBox","VKWebAppScroll","VKWebAppShowOrderBox","VKWebAppShowLeaderBoardBox","VKWebAppShowInviteBox","VKWebAppShowRequestBox","VKWebAppAddToFavorites","VKWebAppShowStoryBox","VKWebAppStorageGet","VKWebAppStorageGetKeys","VKWebAppStorageSet","VKWebAppFlashGetInfo","VKWebAppSubscribeStoryApp","VKWebAppOpenWallPost","VKWebAppCheckAllowedScopes","VKWebAppCheckBannerAd","VKWebAppHideBannerAd","VKWebAppShowBannerAd","VKWebAppCheckNativeAds","VKWebAppShowNativeAds","VKWebAppRetargetingPixel","VKWebAppConversionHit","VKWebAppShowSubscriptionBox","VKWebAppCheckSurvey","VKWebAppShowSurvey","VKWebAppScrollTop","VKWebAppScrollTopStart","VKWebAppScrollTopStop","VKWebAppShowSlidesSheet","VKWebAppTranslate","VKWebAppRecommend","VKWebAppAddToProfile"],yd&&!xd?["VKWebAppResizeWindow","VKWebAppAddToMenu","VKWebAppShowInstallPushBox","VKWebAppGetFriends","VKWebAppShowCommunityWidgetPreviewBox","VKWebAppCallStart","VKWebAppCallJoin","VKWebAppCallGetStatus"]:["VKWebAppShowImages"],!0),Sd=fd?window.AndroidBridge:void 0,Cd=gd?window.webkit.messageHandlers:void 0,Id=yd?parent:void 0;!function(e){e.REWARD="reward",e.INTERSTITIAL="interstitial"}(cd||(cd={})),function(e){e.RESIZE="resize",e.OVERLAY="overlay"}(sd||(sd={})),function(e){e.TOP="top",e.BOTTOM="bottom"}(dd||(dd={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center"}(vd||(vd={})),function(e){e.CAMERA="camera",e.LOCATION="location",e.PHOTO="photo"}(pd||(pd={})),function(e){e.RU="ru",e.UK="uk",e.UA="ua",e.EN="en",e.BE="be",e.KZ="kz",e.PT="pt",e.ES="es"}(_d||(_d={})),function(e){e.ADMIN="admin",e.EDITOR="editor",e.MEMBER="member",e.MODER="moder",e.NONE="none"}(kd||(kd={})),function(e){e.DESKTOP_WEB="desktop_web",e.DESKTOP_WEB_MESSENGER="desktop_web_messenger",e.DESKTOP_APP_MESSENGER="desktop_app_messenger",e.MOBILE_WEB="mobile_web",e.MOBILE_ANDROID="mobile_android",e.MOBILE_ANDROID_MESSENGER="mobile_android_messenger",e.MOBILE_IPHONE="mobile_iphone",e.MOBILE_IPHONE_MESSENGER="mobile_iphone_messenger",e.MOBILE_IPAD="mobile_ipad"}(hd||(hd={}));var Pd=function(e){var t=void 0,i=[],r=Math.random().toString(36).substring(2,5);function n(e){i.push(e)}function o(){return gd||md}function a(){return yd&&window.parent!==window}function l(){return o()||a()}function u(e){if(gd||md)return ld([],i,!0).map((function(t){return t.call(null,e)}));var r=null==e?void 0:e.data;if(yd&&r){if(bd&&"string"==typeof r)try{r=JSON.parse(r)}catch(l){}var n=r.type,o=r.data,a=r.frameId;n&&("VKWebAppSettings"!==n?ld([],i,!0).map((function(e){return e({detail:{type:n,data:o}})})):t=a)}}bd&&/(android)/i.test(navigator.userAgent)?document.addEventListener(wd,u):"undefined"!=typeof window&&"addEventListener"in window&&window.addEventListener(wd,u);var c=ud((function(i,r){Sd&&Sd[i]?Sd[i](JSON.stringify(r)):Cd&&Cd[i]&&"function"==typeof Cd[i].postMessage?Cd[i].postMessage(r):bd?window.ReactNativeWebView.postMessage(JSON.stringify({handler:i,params:r})):Id&&"function"==typeof Id.postMessage&&Id.postMessage({handler:i,params:r,type:"vk-connect",webFrameId:t,connectVersion:e},"*")}),n,r);return{send:c,sendPromise:c,subscribe:n,unsubscribe:function(e){var t=i.indexOf(e);t>-1&&i.splice(t,1)},supports:function(e){return md?!(!Sd||"function"!=typeof Sd[e]):gd?!(!Cd||!Cd[e]||"function"!=typeof Cd[e].postMessage):!!yd&&zd.includes(e)},isWebView:o,isIframe:a,isEmbedded:l,isStandalone:function(){return!l()}}}("2.14.1"),Bd="undefined"!=typeof window?O.useLayoutEffect:O.useEffect,Ed={type:null,viewportWidth:0,viewportHeight:0},Rd=function(){var e=O.useState(Ed),t=e[0],i=e[1];return Bd((function(){var e=function(e){if("viewport_width"in e&&"viewport_height"in e){var t=function(e){var t=e.adaptivity,i=e.viewport_width,r=e.viewport_height,n={type:null,viewportWidth:isFinite(i)?Number(i):0,viewportHeight:isFinite(r)?Number(r):0};switch(t){case"force_mobile":case"force_mobile_compact":case"adaptive":n.type=t}return n}(e);t&&i(t)}},t=function(t){var i=t.detail,r=i.type,n=i.data;"VKWebAppUpdateConfig"===r&&e(n)};return Pd.subscribe(t),Pd.send("VKWebAppGetConfig").then(e).catch(console.error),function(){Pd.unsubscribe(t)}}),[]),t},Td=function(){return Td=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Td.apply(this,arguments)},Ad=function(){var e=O.useState(null),t=e[0],i=e[1];return Bd((function(){var e=function(e){var t=function(e){var t=e.detail,i=t.type,r=t.data;switch(i){case"VKWebAppUpdateInsets":case"VKWebAppUpdateConfig":if(!("insets"in r))return null;var n=r.insets;if(n)return Td(Td({},n),{bottom:n.bottom>150?0:n.bottom})}return null}(e);t&&i(t)};return Pd.subscribe(e),function(){Pd.unsubscribe(e)}}),[]),t};function Hd(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Nd(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),r.forEach((function(t){Hd(e,t,i[t])}))}return e}function Md(e,t){if(null==e)return{};var i,r,n=function(e,t){if(null==e)return{};var i,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)i=o[r],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var Ld=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}();function Fd(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var r=[];return t.forEach((function(e){var t;if(e)switch(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t){case"string":r.push(e);break;case"object":Object.keys(e).forEach((function(t){e[t]&&r.push(t)}));break;default:r.push("".concat(e))}})),r.join(" ")}var Dd=function(){};function Od(e){return"object"==typeof e&&null!==e}function Wd(e,t){if(e===t)return!0;if(null==e||null==t||!Od(e)&&!Od(t))return e!=e&&t!=t;if(Od(e)&&Od(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var i in e){if(!e.hasOwnProperty(i)||!t.hasOwnProperty(i))return!1;if(!Wd(e[i],t[i]))return!1}return!0}return!1}function Vd(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yd(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jd(e,t,i){return t&&Yd(e.prototype,t),i&&Yd(e,i),e}function Ud(e){return void 0!==e&&!1!==e&&null!==e&&""!==e}function Xd(e){return"string"==typeof e||"number"==typeof e}function Kd(e){e||(e=Ld?navigator.userAgent:"");var t=function(e){if(!Ld)return!1;var t=!/ipPad|iPhone|iPod/i.test(e),i=/Mac OS/i.test(e);return t&&i&&"ontouchend"in document}(e=e.toLowerCase()),i=t||e.includes("ipad"),r=!i&&-1!==e.search(/iphone|ipod/),n=r||i,o=n&&e.match(/os ([\d_]+) like mac os x/i),a=0,l=0;t?(a=13,l=0):o&&(a=+(o=o[1].split("_"))[0],l=+o[1]),o=null;var u=a<13&&!(11===a&&l<3),c=n&&function(e){if(!Ld)return!1;var t=window.webkit;if(t&&t.messageHandlers)return!0;var i=/constructor/i.test(String(window.HTMLElement)),r=!!window.indexedDB;if(e.includes("safari")&&e.includes("version")&&!navigator.standalone);else if(!r&&i||!window.statusbar||!window.statusbar.visible);else if(!i||r)return!0;return!1}(e),s=!1;return Ld&&(s=n&&375===screen.width&&812===screen.height&&3===window.devicePixelRatio),{isIPad:i,isIPhone:r,isIOS:n,isIPadOS:t,iosMajor:a,iosMinor:l,isWKWebView:c,isScrollBasedViewport:u,isIPhoneX:s,isIOSChrome:-1!==e.search(/crios/i)}}var $d=Kd(),qd=function(){return $d.isIOS}(),Qd=function(){return $d.isIPadOS}(),Zd=function(){var e={hasMouse:!1,hasTouchEvents:!1,hasHover:!1,hasTouch:!1};if(!Ld)return e;if(qd&&!Qd)e.hasMouse=!1,e.hasHover=!1,e.hasTouchEvents=!0,e.hasTouch=!0;else if(e.hasTouchEvents="ontouchstart"in document,e.hasTouch=e.hasTouchEvents||"maxTouchPoints"in navigator&&navigator.maxTouchPoints>0,e.hasTouch){var t=!/android|mobile|tablet/i.test(navigator.userAgent);e.hasMouse="function"==typeof window.matchMedia&&window.matchMedia("(pointer)").matches?matchMedia("(pointer: fine)").matches:t,e.hasHover=e.hasMouse&&("function"==typeof window.matchMedia&&window.matchMedia("(hover)").matches?matchMedia("(hover: hover)").matches:t)}else e.hasMouse=!0,e.hasHover=!0;return e}(),Jd=function(){return Zd.hasMouse}();const ev=O.createContext({}),tv=()=>O.useContext(ev),iv=e=>null==e||"boolean"==typeof e||"{}"===JSON.stringify(e)?"":e.toString(),rv=e=>e instanceof Array||O.isValidElement(e)?O.Children.toArray(e).reduce(((e,t)=>{let i="";const r=O.isValidElement(t),n=r&&"children"in t.props;return i=r&&n?rv(t.props.children):r&&!n?"":iv(t),e.concat(i)}),""):iv(e),nv={ENTER:"Enter",SPACE:"Space",TAB:"Tab",ESCAPE:"Escape",HOME:"Home",END:"End",DELETE:"Delete",BACKSPACE:"Backspace",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown"},ov=new Map([["Enter",nv.ENTER],["Space",nv.SPACE],["Spacebar",nv.SPACE],[" ",nv.SPACE],["Tab",nv.TAB],["Escape",nv.ESCAPE],["Home",nv.HOME],["End",nv.END],["ArrowLeft",nv.ARROW_LEFT],["ArrowRight",nv.ARROW_RIGHT],["ArrowUp",nv.ARROW_UP],["ArrowDown",nv.ARROW_DOWN],["PageUp",nv.PAGE_UP],["PageDown",nv.PAGE_DOWN]]),av=new Set([nv.TAB,nv.ARROW_LEFT,nv.ARROW_RIGHT,nv.ARROW_UP,nv.ARROW_DOWN,nv.BACKSPACE,nv.DELETE]);function lv(e){const t=e.target,{tagName:i}=t,r=t.getAttribute("role"),n=!0!==t.isContentEditable&&"INPUT"!==i&&"TEXTAREA"!==i&&("button"===r||"link"===r||"menuitem"===r),o="A"===i&&t.hasAttribute("href"),a=(l=e,ov.get(l.key)||null);var l;return n&&(a===nv.SPACE&&"button"===r||a===nv.ENTER&&!o)}function uv(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})),e}function cv(e){return dv(e)?(e.nodeName||"").toLowerCase():"#document"}function sv(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function dv(e){return Vd(e,Node)||Vd(e,sv(e).Node)}function vv(e){return Vd(e,Element)||Vd(e,sv(e).Element)}function pv(e){return Vd(e,HTMLElement)||Vd(e,sv(e).HTMLElement)}function _v(e){return"undefined"!=typeof ShadowRoot&&(Vd(e,ShadowRoot)||Vd(e,sv(e).ShadowRoot))}function kv(e){var t=function(e){return sv(e).getComputedStyle(e)}(e),i=t.overflow,r=t.overflowX,n=t.overflowY,o=t.display;return/auto|scroll|overlay|hidden|clip/.test(i+n+r)&&!["inline","contents"].includes(o)}function hv(e){return vv(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function fv(e){if("html"===cv(e))return e;var t=e.assignedSlot||e.parentNode||_v(e)&&e.host||function(e){var t;return null==(t=(dv(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}(e);return _v(t)?t.host:t}function mv(e){var t=fv(e);return function(e){return["html","body","#document"].includes(cv(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pv(t)&&kv(t)?t:mv(t)}function gv(e,t,i){var r;void 0===t&&(t=[]),void 0===i&&(i=!0);var n=mv(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=sv(n);return o?t.concat(a,a.visualViewport||[],kv(n)?n:[],a.frameElement&&i?gv(a.frameElement):[]):t.concat(n,gv(n,[],i))}const bv=O.createContext({window:Ld?window:void 0,document:Ld?document:void 0}),yv=()=>O.useContext(bv),xv=e=>null!=e&&"navigator"in e;function wv(e){e&&e.activeElement&&e.activeElement.blur()}const zv=["none","initial","inherit","unset"],Sv=["auto","initial","inherit","unset"],Cv=(e,t=!1)=>{const i=xv(e)?e.document.documentElement:e,r=i.getBoundingClientRect();(e=>null!=e&&"tagName"in e&&"HTML"===e.tagName)(i)&&(r.height=i.clientHeight);let n=0,o=0;if(t){const{x:e,y:t}=function(e){let t=e.parentNode;for(;null!==t;){if(pv(t)){const{transform:e,willChange:i}=getComputedStyle(t);if(!zv.includes(e)||!Sv.includes(i)){const{x:e,y:i}=t.getBoundingClientRect();return{x:e,y:i}}}t=t.parentNode}return{x:0,y:0}}(i);n=e,o=t}return uv(Nd({},a={x:r.left-n,y:r.top-o,width:r.width,height:r.height}),{top:a.y,left:a.x,right:a.x+a.width,bottom:a.y+a.height});var a},Iv=e=>sv(e).document.body,Pv=Ld?O.useLayoutEffect:O.useEffect,Bv="enableKeyboardInput",Ev="disableKeyboardInput",Rv={passive:!0,capture:!0};function Tv(){const{document:e}=yv(),t=O.useRef(!1);return Pv((()=>{if(!e)return;const i=e=>{(function(e){return av.has(e.key)})(e)&&(t.current=!0)},r=()=>{t.current=!0},n=()=>{t.current=!1};return e.addEventListener("keydown",i,Rv),e.addEventListener(Bv,r,Rv),e.addEventListener(Ev,n,Rv),e.addEventListener("mousedown",n,Rv),e.addEventListener("touchstart",n,Rv),()=>{e.removeEventListener("keydown",i,Rv),e.removeEventListener(Bv,r,Rv),e.removeEventListener(Ev,n,Rv),e.removeEventListener("mousedown",n,Rv),e.removeEventListener("touchstart",n,Rv)}}),[e]),t}function Av(e){const t=O.useRef(e);return Wd(t.current,e)||(t.current=e),t.current}const Hv={android:{light:"vkui--vkBase--light",dark:"vkui--vkBase--dark"},ios:{light:"vkui--vkIOS--light",dark:"vkui--vkIOS--dark"},vkcom:{light:"vkui--vkCom--light",dark:"vkui--vkCom--dark"}},Nv={};function Mv(e){return{matches:!1,media:e,onchange:Dd,addListener:Dd,removeListener:Dd,addEventListener:Dd,removeEventListener:Dd,dispatchEvent:()=>!1}}const Lv="android",Fv="ios",Dv="vkcom",Ov=O.createContext({hasCustomPanelHeaderAfter:!1,customPanelHeaderAfterMinWidth:90,isWebView:!1,transitionMotionEnabled:!0,platform:(Wv||(Wv=function(e=""){if(Nv[e])return Nv[e];const t={userAgent:e,system:"",systemVersion:null},{isIOS:i,iosMajor:r,iosMinor:n}=Kd(e);return i&&(t.system="ios",t.systemVersion={major:r,minor:n}),Nv[e]=t,t}()),"ios"===Wv.system?"ios":"android"),appearance:void 0,tokensClassNames:Hv,locale:"ru"});var Wv;const Vv=()=>O.useContext(Ov),Gv="light",Yv="dark",jv="light",Uv=()=>{const{platform:e,appearance:t=Gv,tokensClassNames:i}=O.useContext(Ov),r=(e=>Lv in e||Fv in e||Dv in e)(i)?((e,t)=>t?t[e]:void 0)(e,i):i,n=((e,t)=>t?t[e]:void 0)(t,r);return n||Hv[e][t]},Xv=({children:e})=>{const t=Uv();return O.cloneElement(e,{className:Fd(t,e.props.className)})},Kv=({children:e})=>O.Children.map(e,(e=>O.isValidElement(e)?O.createElement(Xv,null,e):e)),$v={appRoot:O.createRef(),mode:"full",portalRoot:O.createRef(),embedded:!1,keyboardInput:!1,disablePortal:!1},qv=O.createContext($v),Qv=(e,t,i)=>Math.max(t,Math.min(e,i)),Zv=e=>{Object.assign(e.style,{position:"",top:"",left:"",right:"",overflowY:"",overflowX:""})},Jv=e=>{const t=e.document.documentElement.clientHeight-e.innerHeight;return e.pageYOffset-t},ep=O.createContext({getScroll:()=>({x:0,y:0}),scrollTo:Dd,isScrollLock:!1,enableScrollLock:Dd,disableScrollLock:Dd}),tp=()=>O.useContext(ep),ip=({children:e})=>{const{window:t,document:i}=yv(),[r,n]=O.useState(!1),o=O.useRef(new Set),a=O.useCallback((()=>({x:t.pageXOffset,y:Jv(t)})),[t]),l=O.useCallback(((e=0,r=0)=>{t.scrollTo(e?Qv(e,0,i.body.scrollWidth-t.innerWidth):0,r?Qv(r,0,i.body.scrollHeight-t.innerHeight):0)}),[i,t]),u=O.useCallback((()=>{o.current.forEach((e=>{e()}));const e=t.pageYOffset,r=t.pageXOffset,a=t.innerWidth>i.documentElement.clientWidth?"scroll":"",l=t.innerHeight>i.documentElement.clientHeight?"scroll":"";Object.assign(i.body.style,{position:"fixed",top:`-${e}px`,left:`-${r}px`,right:"0",overflowY:a,overflowX:l}),n(!0)}),[i,t]),c=O.useCallback((()=>{const e=i.body.style.top,r=i.body.style.left;Zv(i.body),t.scrollTo(-parseInt(r||"0"),-parseInt(e||"0")),n(!1)}),[i,t]),s=O.useMemo((()=>({getScroll:a,scrollTo:l,isScrollLock:r,disableScrollLock:c,enableScrollLock:u,beforeScrollLockFnSetRef:o})),[a,l,r,c,u]);return O.createElement(ep.Provider,{value:s},e)},rp=({elRef:e,children:t})=>{const[i,r]=O.useState(!1),n=O.useRef(new Set),o=O.useCallback((()=>{var t,i,r,n;return{x:null!==(r=null===(t=e.current)||void 0===t?void 0:t.scrollLeft)&&void 0!==r?r:0,y:null!==(n=null===(i=e.current)||void 0===i?void 0:i.scrollTop)&&void 0!==n?n:0}}),[e]),a=O.useCallback(((t=0,i=0)=>{const r=e.current;null==r||r.scrollTo(t?Qv(t,0,r.scrollWidth-r.clientWidth):0,i?Qv(i,0,r.scrollHeight-r.clientHeight):0)}),[e]),l=O.useCallback((()=>{const t=e.current;if(!t)return;n.current.forEach((e=>{e()}));const i=t.scrollTop,o=t.scrollLeft,a=t.scrollWidth>t.clientWidth?"scroll":"",l=t.scrollHeight>t.clientHeight?"scroll":"";Object.assign(t.style,{position:"absolute",top:`-${i}px`,left:`-${o}px`,right:"0",overflowY:a,overflowX:l}),r(!0)}),[e]),u=O.useCallback((()=>{const t=e.current;if(!t)return;const i=t.style.top,n=t.style.left;Zv(t),t.scrollTo(-parseInt(n||"0"),-parseInt(i||"0")),r(!1)}),[e]),c=O.useMemo((()=>({getScroll:o,scrollTo:a,isScrollLock:i,disableScrollLock:u,enableScrollLock:l,beforeScrollLockFnSetRef:n})),[o,a,i,u,l]);return O.createElement(ep.Provider,{value:c},t)},np=e=>"object"==typeof e&&null!==e&&e.hasOwnProperty("current"),op="--vkui_internal--safe_area_inset_",ap=(e,t,i)=>{if(!e)return()=>{};for(const r in e)if(e.hasOwnProperty(r)&&"number"==typeof e[r]){const n=`${op}${r}`,o=e[r];t.style.setProperty(n,`${o}px`),i&&i.style.setProperty(n,`${o}px`)}return function(){for(const r in e)if(e.hasOwnProperty(r)){const e=`${op}${r}`;t.style.removeProperty(e),i&&i.style.removeProperty(e)}}},lp=e=>{var{children:t,mode:i="full",scroll:r="global",portalRoot:n=null,disablePortal:o=!1,disableParentTransformForPositionFixedElements:a,className:l,safeAreaInsets:u,layout:c}=e,s=Md(e,["children","mode","scroll","portalRoot","disablePortal","disableParentTransformForPositionFixedElements","className","safeAreaInsets","layout"]);const{hasPointer:d,sizeX:v="none",sizeY:p="none"}=tv(),_=Uv(),k=Av(u),h=Tv(),f=O.useRef(null),m=O.useRef(null);Pv((function(){const e=n?(e=>np(e)?e.current:e)(n):null;if(e)return m.current=e,function(){m.current=null};const t=Iv(f.current),i=t.ownerDocument.createElement("div");return t.appendChild(i),m.current=i,function(){t.removeChild(i),m.current=null}}),[n]),Pv((function(){if(!f.current||!m.current)return;const e=(e=>e?e.parentElement:null)(f.current),t=Iv(f.current).ownerDocument.documentElement,[r,n]=function({mode:e,layout:t,tokensClassName:i,sizeX:r,sizeY:n}){const o=["vkui__root"],a=[i];if("full"===e||"embedded"===e){if(t){const e={card:"vkui--layout-card",plain:"vkui--layout-plain"};a.push(e[t])}if("compact"!==r){const e={none:"vkui--sizeX-none",regular:"vkui--sizeX-regular"};a.push(e[r])}if("regular"!==n){const e={none:"vkui--sizeY-none",compact:"vkui--sizeY-compact"};a.push(e[n])}"embedded"===e&&o.push("vkui__root--embedded")}return[o,a]}({mode:i,layout:c,tokensClassName:_,sizeX:v,sizeY:p});switch(i){case"full":{e&&e.classList.add(...r),t.classList.add(...n,"vkui");const i=ap(k,t);return function(){e&&e.classList.remove(...r),t.classList.remove(...n,"vkui"),i()}}case"embedded":if(e){e.classList.add(...r,...n),a||e.style.setProperty("transform","translate3d(0, 0, 0)");const t=ap(k,e,m.current);return function(){e.classList.remove(...r,...n),a||e.style.removeProperty("transform"),t()}}return;case"partial":return}}),[i,c,a,_,v,p,k]);const g=O.useMemo((()=>"contain"===r?rp:ip),[r]),b=O.createElement(qv.Provider,{value:{appRoot:f,portalRoot:m,embedded:"embedded"===i,mode:i,disablePortal:o,layout:c,get keyboardInput(){return h.current}}},O.createElement(g,{elRef:f},t));return"partial"===i?b:O.createElement("div",Nd({ref:f,className:Fd("vkuiAppRoot",void 0===d?"vkuiAppRoot--pointer-none":!d&&"vkuiAppRoot--pointer-has-not",l)},s),b)},up=e=>{var{Component:t="div",baseClassName:i,className:r,getRootRef:n}=e,o=Md(e,["Component","baseClassName","className","getRootRef"]);return O.createElement(t,Nd({ref:n,className:Fd(i,r)},o))},cp={1:"vkuiTypography--weight-1",2:"vkuiTypography--weight-2",3:"vkuiTypography--weight-3"},sp=e=>{var{weight:t,Component:i="span",normalize:r}=e,n=Md(e,["weight","Component","normalize"]);return O.createElement(up,Nd({Component:i,baseClassName:Fd("vkuiTypography",r&&"vkuiTypography--normalize",t&&cp[t])},n))},dp={1:"vkuiTitle--level-1",2:"vkuiTitle--level-2",3:"vkuiTitle--level-3"},vp=e=>{var{className:t,level:i="1",Component:r="span",normalize:n=!0}=e,o=Md(e,["className","level","Component","normalize"]);return O.createElement(sp,Nd({Component:r,normalize:n,className:Fd(t,dp[i])},o))},pp={1:"vkuiHeadline--level-1",2:"vkuiHeadline--level-2"},_p={none:"vkuiHeadline--sizeY-none",compact:"vkuiHeadline--sizeY-compact"},kp=e=>{var{className:t,weight:i="3",level:r="1",Component:n="span",normalize:o=!0}=e,a=Md(e,["className","weight","level","Component","normalize"]);const{sizeY:l="none"}=tv();return O.createElement(sp,Nd({Component:n,normalize:o,weight:i,className:Fd(t,"regular"!==l&&_p[l],pp[r])},a))},hp={none:"vkuiText--sizeY-none",compact:"vkuiText--sizeY-compact"},fp=e=>{var{className:t,Component:i="span",normalize:r=!0}=e,n=Md(e,["className","Component","normalize"]);const{sizeY:o="none"}=tv();return O.createElement(sp,Nd({Component:i,normalize:r,className:Fd(t,"vkuiText","regular"!==o&&hp[o])},n))},mp=e=>{var{className:t,Component:i="span",normalize:r=!1}=e,n=Md(e,["className","Component","normalize"]);return O.createElement(sp,Nd({Component:i,normalize:r,className:Fd(t,"vkuiParagraph")},n))},gp={none:"vkuiSubhead--sizeY-none",compact:"vkuiSubhead--sizeY-compact"},bp=e=>{var{className:t,Component:i="span",normalize:r=!0}=e,n=Md(e,["className","Component","normalize"]);const{sizeY:o="none"}=tv();return O.createElement(sp,Nd({Component:i,normalize:r,className:Fd(t,"vkuiSubhead","regular"!==o&&gp[o])},n))},yp=e=>{var{className:t,caps:i,Component:r="span",normalize:n=!0}=e,o=Md(e,["className","caps","Component","normalize"]);return O.createElement(sp,Nd({Component:r,normalize:n,className:Fd(t,"vkuiFootnote",i&&"vkuiFootnote--caps")},o))},xp={DESKTOP:1280,TABLET:1024,SMALL_TABLET:768,MOBILE:320,MOBILE_LANDSCAPE_HEIGHT:415,MEDIUM_HEIGHT:720};function wp(e){return`(min-width: ${e}px)`}function zp(e){return`(max-width: ${e-.1}px)`}function Sp(e,t){return`${wp(e)} and ${zp(t)}`}function Cp(e){return`(min-height: ${e}px)`}function Ip(e){return`(max-height: ${e-.1}px)`}var Pp={BREAKPOINTS:xp,MEDIA_QUERIES:{DESKTOP_PLUS:wp(xp.DESKTOP),TABLET:Sp(xp.TABLET,xp.DESKTOP),SMALL_TABLET_PLUS:wp(xp.SMALL_TABLET),SMALL_TABLET:Sp(xp.SMALL_TABLET,xp.TABLET),MOBILE:Sp(xp.MOBILE,xp.SMALL_TABLET),MEDIUM_HEIGHT:Cp(xp.MEDIUM_HEIGHT),MOBILE_LANDSCAPE_HEIGHT:Cp(xp.MOBILE_LANDSCAPE_HEIGHT)},widthHalfInterval:Sp,widthPlus:wp,widthMinus:zp,heightHalfInterval:function(e,t){return`${Cp(e)} and ${Ip(t)}`},heightPlus:Cp,heightMinus:Ip};const Bp=1,Ep=2,Rp=3,Tp=4,Ap=5,Hp=1,Np=2,Mp=3,Lp="compact",Fp="regular",Dp={[Bp]:"smallMobileMinus",[Ep]:"mobile",[Rp]:"smallTablet",[Tp]:"tablet",[Ap]:"desktopPlus"};function Op(e){return e>=Pp.BREAKPOINTS.DESKTOP?Ap:e>=Pp.BREAKPOINTS.TABLET?Tp:e>=Pp.BREAKPOINTS.SMALL_TABLET?Rp:e>=Pp.BREAKPOINTS.MOBILE?Ep:Bp}function Wp(e){return e>=Pp.BREAKPOINTS.MEDIUM_HEIGHT?Mp:e>=Pp.BREAKPOINTS.MOBILE_LANDSCAPE_HEIGHT?Np:Hp}function Vp(e,t="none"){if("none"===t)return e.hasOwnProperty("none")?e.none:null;const i=[],r=Dp[t];return e.hasOwnProperty(r)&&i.push(e[r]),t>=Ep&&e.hasOwnProperty("mobilePlus")&&i.push(e.mobilePlus),t>=Rp?e.hasOwnProperty("smallTabletPlus")&&i.push(e.smallTabletPlus):e.hasOwnProperty("smallTabletMinus")&&i.push(e.smallTabletMinus),t>=Tp?e.hasOwnProperty("tabletPlus")&&i.push(e.tabletPlus):e.hasOwnProperty("tabletMinus")&&i.push(e.tabletMinus),i.length>0?i.join(" "):null}const Gp=(...e)=>(...t)=>e.filter((e=>"function"==typeof e)).forEach((e=>e(...t)));function Yp(...e){const t=e.reduce(((e,t)=>(Object.entries(t).forEach((([t,i])=>{e.hasOwnProperty(t)||(e[t]=[]),e[t].push(i)})),e)),{});return Object.entries(t).reduce(((e,[t,i])=>(e[t]=Gp(...i),e)),{})}const jp={inside:"vkui-focus-visible--mode-inside",outside:"vkui-focus-visible--mode-outside"},Up=600,Xp=70;function Kp({activated:e,activeClassName:t,activeEffectDelay:i,hasActive:r=!0}){const[n,o]=function(e,t=0){const[i,r]=O.useState(e),n=O.useRef();return[i,O.useCallback(((e,i=t)=>{clearTimeout(n.current),0!==i?n.current=setTimeout((()=>r(e)),i):r(e)}),[t])]}(!1),a=O.useMemo((()=>new Set),[]),l=e=>{a.has(e.pointerId)?a.delete(e.pointerId):o(!1)};return{active:r&&(e||n)?t:void 0,onPointerLeave:r?l:Dd,onPointerDown:r?()=>o(!0,Xp):Dd,onPointerCancel:r?l:Dd,onPointerUp:r?e=>{a.add(e.pointerId),o(!0),o(!1,i)}:Dd}}const $p=O.createContext(void 0);function qp(e){var{hasHover:t,hasActive:i}=e,r=Md(e,["hasHover","hasActive"]);const[n,o,a]=function(){const e=O.useContext($p)||Dd,[t,i]=O.useState(!1);return[t,e,Gp(i,e)]}(),l=Nd({hasHover:t&&!n,hasActive:i&&!n},r),u=function({hovered:e,hoverClassName:t,hasHover:i=!0}){const[r,n]=O.useState(!1);return{hover:i&&(e||r)?t:void 0,onPointerEnter:i?e=>{"touch"!==e.pointerType&&n(!0)}:Dd,onPointerLeave:i?()=>{n(!1)}:Dd}}(Nd({},l)),{hover:c}=u,s=Md(u,["hover"]),d=Kp(l),{active:v}=d,p=Md(d,["active"]),_=Fd(c,v),k=Yp(s,p);return O.useEffect((()=>{o(!!_)}),[o,_]),Nd({stateClassName:_,setLockBubblingImmediate:a},k)}const Qp=e=>{var t=Md(e,["href","onClick","onClickCapture","activeClassName","hoverClassName","hasActive","hasHover","hovered","activated","activeEffectDelay"]);return O.createElement(up,t)},Zp=e=>{var{baseClassName:t,children:i,focusVisibleMode:r="inside",activeClassName:n,hoverClassName:o,activeEffectDelay:a=Up,hasHover:l=!0,hasActive:u=!0,hovered:c,activated:s,onPointerEnter:d,onPointerLeave:v,onPointerDown:p,onPointerCancel:_,onPointerUp:k,onBlur:h,onFocus:f,onKeyDown:m}=e,g=Md(e,["baseClassName","children","focusVisibleMode","activeClassName","hoverClassName","activeEffectDelay","hasHover","hasActive","hovered","activated","onPointerEnter","onPointerLeave","onPointerDown","onPointerCancel","onPointerUp","onBlur","onFocus","onKeyDown"]);const b=function(e=!0){const[t,i]=O.useState(!1),{keyboardInput:r}=O.useContext(qv);return{focusVisible:e?r&&t:t,onFocus:O.useCallback((e=>{e.stopPropagation(),i(!0)}),[i]),onBlur:O.useCallback((e=>{e.stopPropagation(),i(!1)}),[i])}}(),{focusVisible:y}=b,x=Md(b,["focusVisible"]),w=function({focusVisible:e=!1,mode:t="inside"}){const i=(e=>"inside"===e||"outside"===e)(t)?jp[t]:t;return Fd("vkui-focus-visible",e&&"vkui-focus-visible--focused",e&&i)}({focusVisible:y,mode:r}),z=qp({activeClassName:n,hoverClassName:o,activeEffectDelay:a,hasHover:l,hasActive:u,hovered:c,activated:s}),{stateClassName:S,setLockBubblingImmediate:C}=z,I=Yp(x,Md(z,["stateClassName","setLockBubblingImmediate"]),{onKeyDown:function(e){var t,i;lv(e)&&(e.preventDefault(),null===(t=(i=e.target).click)||void 0===t||t.call(i))}},{onPointerEnter:d,onPointerLeave:v,onPointerDown:p,onPointerCancel:_,onPointerUp:k,onBlur:h,onFocus:f,onKeyDown:m});return O.createElement(up,Nd({baseClassName:Fd(t,"vkuiClickable__realClickable",w,S)},I,g),O.createElement($p.Provider,{value:C},i))};function Jp(e){return(void 0!==e.href||void 0!==e.onClick||void 0!==e.onClickCapture||"label"===e.Component)&&!e.disabled}const e_=e=>{var{focusVisibleMode:t="inside",baseClassName:i}=e,r=Md(e,["focusVisibleMode","baseClassName"]);const n=function({Component:e,onClick:t,onClickCapture:i,href:r,disabled:n}){return void 0!==e?{Component:e}:void 0!==r?{Component:"a","aria-disabled":n}:void 0!==t||void 0!==i?{Component:"div",role:"button",tabIndex:n?void 0:0,"aria-disabled":n}:{}}(r),o=Jp(r),a=Fd(i,"vkuiClickable__host");return o?O.createElement(Zp,Nd({baseClassName:a,focusVisibleMode:t},n,r)):O.createElement(Qp,Nd({baseClassName:a},n,r))};function t_(){const{platform:e}=Vv();return e}function i_(e,t){const i=O.useRef({cb:e,duration:t});Pv((()=>{i.current.cb=e,i.current.duration=t}),[e,t]);const r=O.useRef(),n=O.useCallback((()=>{Ld&&(null==r?void 0:r.current)&&clearTimeout(r.current)}),[]),o=O.useCallback(((e=i.current.duration)=>{n(),Ld&&(r.current=setTimeout((()=>{const{cb:e}=i.current;"function"==typeof e&&e()}),e))}),[n]);return Pv((()=>n),[]),{set:o,clear:n}}const r_=(e,t)=>{const[i,r]=O.useState([]),n=O.useMemo((()=>new Map),[]),o=i_((()=>r([])),225),a=(!Jd||!1===t)&&e;return{clicks:i,onPointerDown:a?e=>{const{top:t,left:a}=function(e){const t=null==e?void 0:e.getBoundingClientRect();return{top:null==t?void 0:t.top,left:null==t?void 0:t.left,width:null==e?void 0:e.offsetWidth,height:null==e?void 0:e.offsetHeight}}(e.currentTarget),l=e.clientX-(null!=a?a:0),u=e.clientY-(null!=t?t:0);n.set(e.pointerId,setTimeout((()=>function(e,t,a){const l=Date.now(),u=i.filter((e=>e.id+225>l));r([...u,{x:e,y:t,id:l,pointerId:a}]),o.set(),n.delete(a)}(l,u,e.pointerId)),70))}:Dd,onPointerCancel:a?e=>{const t=n.get(e.pointerId);clearTimeout(t),n.delete(e.pointerId)}:Dd}},n_=({needRipple:e=!0,clicks:t})=>O.createElement("span",{"aria-hidden":!0,className:Fd("vkuiTappable__stateLayer",e&&"vkuiTappable__ripple")},t.map((e=>O.createElement("span",{key:e.id,className:"vkuiTappable__wave",style:{top:e.y,left:e.x}})))),o_="background",a_={background:"vkuiTappable--hovered-background",opacity:"vkuiTappable--hovered-opacity",none:""};function l_(e=o_){const t=a_[e];return void 0!==t?t:e}const u_={background:"vkuiTappable--activated-background",opacity:"vkuiTappable--activated-opacity",none:""};function c_(e=o_){const t=u_[e];return void 0!==t?t:e}const s_={none:"vkuiTappable--sizeX-none",compact:"vkuiTappable--sizeX-compact"};function d_(e){switch(e){case void 0:return"vkuiTappable--hasPointer-none";case!1:return"vkuiTappable--hasPointer-false"}}const v_=e=>{var{baseClassName:t,borderRadiusMode:i="auto",children:r,hoverMode:n=o_,activeMode:o=o_,onPointerDown:a,onPointerCancel:l}=e,u=Md(e,["baseClassName","borderRadiusMode","children","hoverMode","activeMode","onPointerDown","onPointerCancel"]);const c=Jp(u),{sizeX:s="none",hasPointer:d}=tv(),v=((e,t)=>"android"===t_()&&!t&&"background"===e)(o,d),p=r_(v,d),{clicks:_}=p,k=Yp(Md(p,["clicks"]),{onPointerDown:a,onPointerCancel:l}),h="button"===u.Component?{type:"button"}:{};return O.createElement(e_,Nd({baseClassName:Fd(t,"vkuiTappable",s!==Fp&&s_[s],"inherit"===i&&"vkuiTappable--borderRadiusInherit",d_(d)),hoverClassName:l_(n),activeClassName:c_(o)},h,k,u),r,c&&("background"===n||"background"===o)&&O.createElement(n_,{needRipple:v,clicks:_}))};function p_(...e){const t=O.useRef(null);return O.useMemo((()=>({get current(){return t.current},set current(i){t.current=i,e.forEach((e=>{e&&function(e,t){t&&("function"==typeof t?t(e):t.current=e)}(i,e)}))}})),e)}function __(e,t,i){const r=O.useRef(t);Pv((()=>{r.current=t}),[t]);const n=O.useCallback((e=>r.current&&r.current(e)),[]),o=O.useRef(Dd),a=O.useCallback((()=>{o.current(),o.current=Dd}),[]),l=O.useCallback((t=>{if(!Ld)return;if(a(),!t)return;const r=Nd({},i);t.addEventListener(e,n,r),o.current=()=>t.removeEventListener(e,n,r)}),[i,n,e,a]);return O.useEffect((()=>a),[a]),O.useMemo((()=>({add:l,remove:a})),[l,a])}function k_(e,t,i,r){const n=__(t,i,r);Pv((()=>{i&&e?n.add(e):n.remove()}),[Boolean(i),Boolean(e)])}const h_=O.forwardRef(((e,t)=>{var{fixed:i=!1}=e,r=Md(e,["fixed"]);return r["data-onboarding-tooltip-container"]=i?"fixed":"true",O.createElement("div",uv(Nd({},r),{ref:t}))}));h_.displayName="OnboardingTooltipContainer";const f_=O.createContext({colRef:null,animate:!0}),m_={top:"vkuiFixedLayout--vertical-top",bottom:Fd("vkuiFixedLayout--vertical-bottom","vkuiInternalFixedLayout--vertical-bottom")},g_=e=>{var{children:t,style:i,vertical:r,getRootRef:n,filled:o,className:a,useParentWidth:l}=e,u=Md(e,["children","style","vertical","getRootRef","filled","className","useParentWidth"]);const c=t_(),s=p_(n),[d,v]=O.useState(void 0),{window:p}=yv(),{colRef:_}=O.useContext(f_),k=()=>{if(l&&s.current){var e;const t=null===(e=s.current.parentElement)||void 0===e?void 0:e.getBoundingClientRect().width;v(t?`${t}px`:void 0)}else if(null==_?void 0:_.current){const e=getComputedStyle(_.current);v(_.current.clientWidth-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)+"px")}else v(void 0)};return O.useEffect(k,[_,c,s,l]),k_(p,"resize",k),O.createElement(h_,uv(Nd({},u),{fixed:!0,ref:s,className:Fd("vkuiFixedLayout","ios"===c&&"vkuiInternalFixedLayout--ios",o&&"vkuiFixedLayout--filled",r&&m_[r],a),style:uv(Nd({},i),{width:d})}),t)};function b_(e){return void 0!==e}function y_(e,t){return function(e,t,i){const r=t.filter(b_);return r.length?e(...r):i}(Math.min,e,t)}const x_=O.createContext({size:0});function w_(e){return e<=36?12:e>36&&e<=48?16:e>48&&e<=64?20:w_.MAX_SIZE}w_.MAX_SIZE=24;const z_={stroke:"vkuiImageBaseBadge--background-stroke",shadow:"vkuiImageBaseBadge--background-shadow"};function S_(e=!1){const[t,i]=O.useState(e);return Pv((()=>{i(!0)}),[]),t}function C_(){const{appearance:e}=Vv();return null!=e?e:Gv}const I_=e=>{var{alt:t,crossOrigin:i,decoding:r,loading:n,referrerPolicy:o,sizes:a,src:l,srcSet:u,useMap:c,getRef:s,size:d,width:v,height:p,widthSize:_,heightSize:k,style:h,noBorder:f=!1,fallbackIcon:m,children:g,onLoad:b,onError:y,withTransparentBackground:x}=e,w=Md(e,["alt","crossOrigin","decoding","loading","referrerPolicy","sizes","src","srcSet","useMap","getRef","size","width","height","widthSize","heightSize","style","noBorder","fallbackIcon","children","onLoad","onError","withTransparentBackground"]);const z=null!=d?d:y_([_,k],24),S=null!=_?_:z,C=null!=k?k:z,[I,P]=O.useState(!1),[B,E]=O.useState(!1),R=l||u,T=!B&&R||!O.isValidElement(m)?null:m,A=p_(s),H=O.useRef(!1);return O.useEffect((function(){if(!H.current&&(H.current=!0,A.current&&A.current.complete&&!I)){const e=new Event("load");A.current.dispatchEvent(e)}}),[A,I]),O.createElement(x_.Provider,{value:{size:z}},O.createElement(e_,Nd({style:Nd({width:S,height:C},h),baseClassName:Fd("vkuiImageBase",I&&"vkuiImageBase--loaded",x&&"vkuiImageBase--transparent-background")},w),R&&O.createElement("img",{ref:A,alt:t,className:"vkuiImageBase__img",crossOrigin:i,decoding:r,loading:n,referrerPolicy:o,sizes:a,src:l,srcSet:u,useMap:c,width:v,height:p,onLoad:e=>{I||(P(!0),E(!1),null==b||b(e))},onError:e=>{P(!1),E(!0),null==y||y(e)}}),T&&O.createElement("div",{className:"vkuiImageBase__fallback"},T),g,!f&&O.createElement("div",{"aria-hidden":!0,className:"vkuiImageBase__border"})))};I_.Badge=e=>{var{background:t="shadow"}=e,i=Md(e,["background"]);return O.createElement(up,uv(Nd({},i),{baseClassName:Fd("vkuiImageBaseBadge",z_[t])}))},I_.Overlay=e=>{var{className:t,theme:i,visibility:r,children:n,onClick:o}=e,a=Md(e,["className","theme","visibility","children","onClick"]);const l=C_(),u=function(e=!0){const{hasPointer:t}=O.useContext(ev);return S_(!(e||void 0===t))&&void 0===t?Jd:t}(),c=null!=i?i:l,s=null!=r?r:u?"on-hover":"always",d=(null!=o?o:"on-hover"===s)?Dd:void 0;return O.createElement(v_,uv(Nd({},a),{className:Fd("vkuiImageBaseOverlay","always"===s&&"vkuiImageBaseOverlay--visible","light"===c&&"vkuiImageBaseOverlay--theme-light","dark"===c&&"vkuiImageBaseOverlay--theme-dark",t),hasHover:"on-hover"===s,hoverMode:"on-hover"===s?"vkuiImageBaseOverlay--visible":void 0,focusVisibleMode:Fd(jp.inside,"vkuiImageBaseOverlay--visible"),hasActive:!1,onClick:d}),n)};var P_,B_=function(){function e(t){var i=t.content;Gd(this,e),Hd(this,"isMounted",!1),Hd(this,"node",void 0),this.node=function(e){var t=!!document.importNode,i=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(i,!0):i}(i)}return jd(e,[{key:"id",get:function(){return this.node.id}},{key:"mount",value:function(e){return this.isMounted||(this.isMounted=!0,e.appendChild(this.node)),this.node}},{key:"unmount",value:function(){this.node&&this.node.parentNode&&(this.node.parentNode.removeChild(this.node),this.isMounted=!1)}}],[{key:"createFromExistingNode",value:function(t){var i=new e({content:""});return i.node=t,i}}]),e}(),E_="http://www.w3.org/2000/svg",R_=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Gd(this,e),Hd(this,"symbols",new Map),Hd(this,"config",{attrs:{xmlns:E_,"xmlns:xlink":"http://www.w3.org/1999/xlink",style:"position:absolute;width:0;height:0","aria-hidden":"true"}}),Hd(this,"node",null),Object.assign(this.config.attrs,t.attrs)}return jd(e,[{key:"push",value:function(e){var t=this.symbols,i=t.has(e.id);return t.set(e.id,e),!i}},{key:"add",value:function(e){var t=this.push(e);return this.node&&t&&e.mount(this.node),t}},{key:"attach",value:function(e){var t=this;this.node||(this.node=e,this.symbols.forEach((function(t){t.mount(e)})),e.querySelectorAll("symbol").forEach((function(e){var i=B_.createFromExistingNode(e);t.add(i)})))}},{key:"mount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.node||(this.node=this.render(),t&&e.childNodes[0]?e.insertBefore(this.node,e.firstChild):e.appendChild(this.node)),this.node}},{key:"render",value:function(){var e=document.createElementNS(E_,"svg");return Object.entries(this.config.attrs).forEach((function(t){return e.setAttribute(t[0],t[1])})),this.symbols.forEach((function(t){return e.appendChild(t.node)})),e}},{key:"unmount",value:function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)}}]),e}(),T_=!("undefined"==typeof window||!window.document||!window.document.createElement);if(T_){var A_="__SVG_SPRITE_NODE__";P_=new R_({attrs:{id:A_}});var H_=function(){var e=document.getElementById(A_);e?P_.attach(e):P_.mount(document.body),document.removeEventListener("DOMContentLoaded",H_)};document.querySelector("body")?H_():document.addEventListener("DOMContentLoaded",H_)}else P_=null;var N_=T_?O.useLayoutEffect:O.useEffect,M_=function(e){var t=e.width,i=void 0===t?0:t,r=e.height,n=void 0===r?0:r,o=e.viewBox,a=e.id,l=e.className,u=void 0===l?"":l,c=e.fill,s=e.getRootRef,d=e.style,v=void 0===d?{}:d,p=e.title,_=e.children,k=Md(e,["width","height","viewBox","id","className","fill","getRootRef","style","title","children"]),h=Math.max(i,n),f=Nd({width:i,height:n},v);return W.createElement("svg",uv(Nd({"aria-hidden":"true",display:"block"},k),{className:["vkuiIcon","vkuiIcon--".concat(h),"vkuiIcon--w-".concat(i),"vkuiIcon--h-".concat(n),"vkuiIcon--".concat(a),u].join(" ").trim(),viewBox:o,width:i,height:n,style:f,ref:s}),p&&W.createElement("title",null,p),W.createElement("use",{xlinkHref:"#".concat(a),style:{fill:"currentColor",color:c}},_))};function L_(e,t,i,r,n,o,a,l){var u=function(){var e;c||(e=new B_({content:r}),P_&&P_.add(e),c=!0)},c=!1,s=function(e){var t={};return function(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";t[i]||(console[r]("[@vkontakte/icons][".concat(e,"] ").concat(i)),t[i]=!0)}}(e),d=function(e){if(N_(u,[]),a){var r=l?". Замените на ".concat(l):"";s("Иконка устарела"+r)}return W.createElement(M_,uv(Nd({},e),{viewBox:i,id:t,width:void 0===e.width||isNaN(e.width)?n:+e.width,height:void 0===e.height||isNaN(e.height)?o:+e.height}))};return d.mountIcon=u,d.displayName=e,d}var F_=L_("Icon12Circle","circle_12","0 0 12 12",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12" id="circle_12"><path fill="currentColor" d="M10 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0" /></symbol>',12,12,!1,void 0),D_=L_("Icon12OnlineMobile","online_mobile_12","0 0 8 12",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 8 12" id="online_mobile_12"><path fill="currentColor" d="M5.99 0C7.1 0 8 .9 8 2.01v7.98C8 11.1 7.1 12 5.99 12H2.01C.9 12 0 11.1 0 9.99V2.01C0 .9.9 0 2.01 0zm.008 3H2.003a.5.5 0 0 0-.503.502v4.996c0 .277.225.502.503.502h3.995a.5.5 0 0 0 .502-.502V3.503A.5.5 0 0 0 5.997 3" /></symbol>',8,12,!1,void 0),O_=L_("Icon16Chevron","chevron_16","0 0 12 16",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 16" id="chevron_16"><path fill="currentColor" d="M7.227 8 3.864 4.636a.9.9 0 0 1 1.272-1.272l4 4a.9.9 0 0 1 0 1.272l-4 4a.9.9 0 0 1-1.272-1.272z" /></symbol>',12,16,!1,void 0),W_=L_("Icon16Spinner","spinner_16","0 0 16 16",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16" id="spinner_16"><path fill-rule="evenodd" d="M8 3.25a4.75 4.75 0 0 0-4.149 7.065.75.75 0 1 1-1.31.732A6.25 6.25 0 1 1 8 14.25a.75.75 0 0 1 .001-1.5 4.75 4.75 0 1 0 0-9.5Z" clip-rule="evenodd" /></symbol>',16,16,!1,void 0),V_=L_("Icon20CheckBoxOff","check_box_off_20","0 0 20 20",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20" id="check_box_off_20"><path fill="currentColor" fill-rule="evenodd" d="M4.046 2.534C4.788 2.138 5.517 2 7.128 2h5.744c1.61 0 2.34.138 3.082.534.65.348 1.164.862 1.512 1.512.396.742.534 1.471.534 3.082v5.744c0 1.61-.138 2.34-.534 3.082a3.64 3.64 0 0 1-1.512 1.512c-.742.396-1.472.534-3.082.534H7.128c-1.61 0-2.34-.138-3.082-.534a3.64 3.64 0 0 1-1.512-1.512C2.138 15.212 2 14.482 2 12.872V7.128c0-1.61.138-2.34.534-3.082a3.65 3.65 0 0 1 1.512-1.512m3.082.966c-1.531 0-1.962.136-2.374.357a2.15 2.15 0 0 0-.897.897c-.22.412-.357.843-.357 2.374v5.744c0 1.531.136 1.962.357 2.374q.313.585.897.897c.412.22.843.357 2.374.357h5.744c1.531 0 1.962-.136 2.374-.357q.585-.313.897-.897c.22-.412.357-.843.357-2.374V7.128c0-1.531-.136-1.962-.357-2.374a2.15 2.15 0 0 0-.897-.897c-.412-.22-.843-.357-2.374-.357z" clip-rule="evenodd" /></symbol>',20,20,!1,void 0),G_=L_("Icon20CheckBoxOn","check_box_on_20","0 0 20 20",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20" id="check_box_on_20"><path fill="currentColor" fill-rule="evenodd" d="M2.436 4.184C2 5.04 2 6.16 2 8.4v3.2c0 2.24 0 3.36.436 4.216a4 4 0 0 0 1.748 1.748C5.04 18 6.16 18 8.4 18h3.2c2.24 0 3.36 0 4.216-.436a4 4 0 0 0 1.748-1.748C18 14.96 18 13.84 18 11.6V8.4c0-2.24 0-3.36-.436-4.216a4 4 0 0 0-1.748-1.748C14.96 2 13.84 2 11.6 2H8.4c-2.24 0-3.36 0-4.216.436a4 4 0 0 0-1.748 1.748m12.2 3.803a.9.9 0 1 0-1.272-1.274l-4.673 4.665-2.055-2.052A.9.9 0 0 0 5.364 10.6l2.691 2.687a.9.9 0 0 0 1.272 0z" clip-rule="evenodd" /></symbol>',20,20,!1,void 0),Y_=L_("Icon24ArrowLeftOutline","arrow_left_outline_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="arrow_left_outline_24"><path fill="currentColor" d="M11.532 4.26a.9.9 0 0 1 .089 1.18l-.08.092L6.05 11.1H20.1a.9.9 0 0 1 .113 1.793l-.113.007H6.05l5.49 5.568a.9.9 0 0 1 .073 1.181l-.081.092a.9.9 0 0 1-1.181.072l-.092-.081-7-7.1a.9.9 0 0 1-.08-1.172l.08-.092 7-7.1a.9.9 0 0 1 1.273-.009" /></symbol>',24,24,!1,void 0),j_=L_("Icon24Cancel","cancel_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" id="cancel_24"><path d="M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727z" /></symbol>',24,24,!1,void 0),U_=L_("Icon24CheckBoxOff","check_box_off_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="check_box_off_24"><path fill="currentColor" d="M16.872 2c1.783 0 2.43.186 3.082.534s1.163.86 1.512 1.512S22 5.345 22 7.128v9.744c0 1.783-.186 2.43-.534 3.082a3.64 3.64 0 0 1-1.512 1.512c-.652.348-1.299.534-3.082.534H7.128c-1.783 0-2.43-.186-3.082-.534s-1.163-.86-1.512-1.512C2.186 19.302 2 18.655 2 16.872V7.128c0-1.783.186-2.43.534-3.082a3.64 3.64 0 0 1 1.512-1.512C4.698 2.186 5.345 2 7.128 2zm.564 2H6.564c-.892 0-1.215.093-1.54.267-.327.174-.583.43-.757.756S4 5.673 4 6.563v10.873c0 .892.093 1.215.267 1.54.174.327.43.583.756.757s.65.267 1.54.267h10.873c.892 0 1.215-.093 1.54-.267.327-.174.583-.43.757-.756s.267-.65.267-1.54V6.563c0-.892-.093-1.215-.267-1.54a1.8 1.8 0 0 0-.756-.757c-.326-.174-.65-.267-1.54-.267" /></symbol>',24,24,!1,void 0),X_=L_("Icon24CheckBoxOn","check_box_on_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="check_box_on_24"><path fill="currentColor" fill-rule="evenodd" d="M2.436 4.184C2 5.04 2 6.16 2 8.4v7.2c0 2.24 0 3.36.436 4.216a4 4 0 0 0 1.748 1.748C5.04 22 6.16 22 8.4 22h7.2c2.24 0 3.36 0 4.216-.436a4 4 0 0 0 1.748-1.748C22 18.96 22 17.84 22 15.6V8.4c0-2.24 0-3.36-.436-4.216a4 4 0 0 0-1.748-1.748C18.96 2 17.84 2 15.6 2H8.4c-2.24 0-3.36 0-4.216.436a4 4 0 0 0-1.748 1.748m15.771 5.023a1 1 0 0 0-1.414-1.414L10 14.586l-2.793-2.793a1 1 0 0 0-1.414 1.414l3.5 3.5a1 1 0 0 0 1.414 0z" clip-rule="evenodd" /></symbol>',24,24,!1,void 0),K_=L_("Icon24CheckCircleOff","check_circle_off_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="check_circle_off_24"><path fill="currentColor" d="M12 0c6.629 0 12 5.373 12 12 0 6.629-5.373 12-12 12-6.629 0-12-5.373-12-12C0 5.371 5.373 0 12 0m0 1.5C6.2 1.5 1.5 6.2 1.5 12S6.2 22.5 12 22.5 22.5 17.8 22.5 12 17.8 1.5 12 1.5" /></symbol>',24,24,!1,void 0),$_=L_("Icon24CheckCircleOn","check_circle_on_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="check_circle_on_24"><path fill="currentColor" fill-rule="evenodd" d="M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12m6.207-14.793a1 1 0 0 0-1.414-1.414L10 14.586l-2.793-2.793a1 1 0 0 0-1.414 1.414l3.5 3.5a1 1 0 0 0 1.414 0z" clip-rule="evenodd" /></symbol>',24,24,!1,void 0),q_=L_("Icon24ChevronCompactRight","chevron_compact_right_24","0 0 16 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 24" id="chevron_compact_right_24"><path fill="currentColor" d="M4.706 7.706a1 1 0 0 1 0-1.412l.088-.088a.997.997 0 0 1 1.414.002l5.084 5.084a1 1 0 0 1 0 1.416l-5.084 5.084a1 1 0 0 1-1.414.002l-.088-.088a.995.995 0 0 1 0-1.412L9 12z" /></symbol>',16,24,!1,void 0),Q_=L_("Icon24ChevronLeftOutline","chevron_left_outline_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" id="chevron_left_outline_24"><path d="m8.414 12 7.293 7.293a1 1 0 0 1-1.414 1.414l-8-8a1 1 0 0 1 0-1.414l8-8a1 1 0 1 1 1.414 1.414z" /></symbol>',24,24,!1,void 0),Z_=L_("Icon24Reorder","reorder_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="reorder_24"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path fill="currentColor" fill-rule="nonzero" d="M21 18a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1m0-4a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1m0-4a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1M3 6a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1" /></g></symbol>',24,24,!1,void 0),J_=L_("Icon24ReorderIos","reorder_ios_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="reorder_ios_24"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" opacity=".1" /><path fill="currentColor" fill-rule="nonzero" d="M2.75 7h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 0 1 0-1.5m0 4h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 1 1 0-1.5m0 4h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 1 1 0-1.5" /></g></symbol>',24,24,!1,void 0),ek=L_("Icon24Spinner","spinner_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="spinner_24"><path fill="currentColor" fill-rule="evenodd" d="M16.394 5.077A8.2 8.2 0 0 0 4.58 15.49a.9.9 0 0 1-1.628.767A10 10 0 1 1 12 22a.9.9 0 0 1 0-1.8 8.2 8.2 0 0 0 4.394-15.123" clip-rule="evenodd" /></symbol>',24,24,!1,void 0),tk=L_("Icon28ArrowLeftOutline","arrow_left_outline_28","0 0 28 28",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" id="arrow_left_outline_28"><g fill="none" fill-rule="evenodd"><path d="M28 0H0v28h28z" /><path fill="currentColor" fill-rule="nonzero" d="M12.293 6.293a1 1 0 0 1 1.414 1.414L8.414 13H22a1 1 0 0 1 .993.883L23 14a1 1 0 0 1-1 1H8.414l5.293 5.293a1 1 0 0 1 .083 1.32l-.083.094a1 1 0 0 1-1.414 0l-7-7-.073-.082A1 1 0 0 1 5 14l.004.09L5 14.02V14a1 1 0 0 1 .125-.484 1 1 0 0 1 .071-.111 1 1 0 0 1 .097-.112l-.08.09q.037-.047.08-.09Z" /></g></symbol>',28,28,!1,void 0),ik=L_("Icon28ChevronBack","chevron_back_28","0 0 20 28",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 28" id="chevron_back_28"><g fill="none" fill-rule="evenodd"><path d="M0 0h20v28H0z" /><path fill="currentColor" d="M4.56 12.94 13 4.5a1.414 1.414 0 0 1 2 2L7.5 14l7.5 7.5a1.414 1.414 0 0 1-2 2l-8.44-8.44a1.5 1.5 0 0 1 0-2.12" /></g></symbol>',20,28,!1,void 0),rk=L_("Icon28ChevronLeftOutline","chevron_left_outline_28","0 0 28 28",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28" id="chevron_left_outline_28"><path fill="currentColor" d="m12.414 14 5.793-5.793a1 1 0 0 0-1.414-1.414l-6.5 6.5a1 1 0 0 0 0 1.414l6.5 6.5a1 1 0 0 0 1.414-1.414z" /></symbol>',28,28,!1,void 0),nk=L_("Icon32Spinner","spinner_32","0 0 32 32",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="spinner_32"><path fill="currentColor" d="M16 32a1.5 1.5 0 0 1 0-3c7.18 0 13-5.82 13-13S23.18 3 16 3 3 8.82 3 16c0 1.557.273 3.074.8 4.502A1.5 1.5 0 1 1 .986 21.54 16 16 0 0 1 0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16" /></symbol>',32,32,!1,void 0),ok=L_("Icon44Spinner","spinner_44","0 0 44 44",'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 44 44" id="spinner_44"><path fill="currentColor" d="M22 44a1.5 1.5 0 0 1 0-3c10.493 0 19-8.507 19-19S32.493 3 22 3 3 11.507 3 22c0 2.208.376 4.363 1.103 6.397a1.5 1.5 0 1 1-2.825 1.01A22 22 0 0 1 0 22C0 9.85 9.85 0 22 0s22 9.85 22 22-9.85 22-22 22" /></symbol>',44,44,!1,void 0);const ak=e=>{var{Component:t="span"}=e,i=Md(e,["Component"]);return O.createElement(up,uv(Nd({Component:t},i),{baseClassName:Fd("vkuiVisuallyHidden","input"===t&&"vkuiVisuallyHidden--focusable-input")}))},lk=O.memo((e=>{var{size:t="regular",children:i="Загружается...",disableAnimation:r}=e,n=Md(e,["size","children","disableAnimation"]);const o={small:W_,regular:ek,medium:nk,large:ok}[t],a={small:8,regular:12,medium:16,large:22}[t];return O.createElement(up,uv(Nd({Component:"span",role:"status"},n),{baseClassName:"vkuiSpinner"}),O.createElement(o,null,!r&&O.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:`0 ${a} ${a}`,to:`360 ${a} ${a}`,dur:"0.7s",repeatCount:"indefinite"})),Ud(i)&&O.createElement(ak,null,i))}));lk.displayName="Spinner";const uk={s:"vkuiButton--size-s",m:"vkuiButton--size-m",l:"vkuiButton--size-l"},ck={primary:"vkuiButton--mode-primary",secondary:"vkuiButton--mode-secondary",tertiary:"vkuiButton--mode-tertiary",outline:"vkuiButton--mode-outline",link:"vkuiButton--mode-link"},sk={accent:"vkuiButton--appearance-accent",positive:"vkuiButton--appearance-positive",negative:"vkuiButton--appearance-negative",neutral:"vkuiButton--appearance-neutral",overlay:"vkuiButton--appearance-overlay","accent-invariable":"vkuiButton--appearance-accent-invariable"},dk={left:"vkuiButton--align-left",center:"vkuiButton--align-center",right:"vkuiButton--align-right"},vk={none:"vkuiButton--sizeY-none",regular:"vkuiButton--sizeY-regular"},pk=e=>{var{size:t="s",mode:i="primary",appearance:r="accent",stretched:n=!1,align:o="center",children:a,before:l,after:u,getRootRef:c,loading:s,onClick:d=Dd,className:v,disableSpinnerAnimation:p,rounded:_}=e,k=Md(e,["size","mode","appearance","stretched","align","children","before","after","getRootRef","loading","onClick","className","disableSpinnerAnimation","rounded"]);const h=Boolean(l||u),f=!a&&Boolean(u)!==Boolean(l),{sizeY:m="none"}=tv(),g=t_();return O.createElement(v_,uv(Nd({hoverMode:"vkuiButton--hover",activeMode:"vkuiButton--active",Component:k.href?"a":"button",focusVisibleMode:"outside"},k),{onClick:s?void 0:d,className:Fd(v,"vkuiButton",uk[t],ck[i],sk[r],dk[o],"compact"!==m&&vk[m],"ios"===g&&"vkuiButton--ios",n&&"vkuiButton--stretched",h&&"vkuiButton--with-icon",f&&!n&&"vkuiButton--singleIcon",s&&"vkuiButton--loading",_&&"vkuiButton--rounded"),getRootRef:c}),s&&O.createElement(lk,{size:"small",className:"vkuiButton__spinner",disableAnimation:p}),O.createElement("span",{className:"vkuiButton__in"},Ud(l)&&O.createElement("span",{className:"vkuiButton__before",role:"presentation","data-testid":void 0},l),Ud(a)&&O.createElement("span",{className:"vkuiButton__content","data-testid":void 0},a),Ud(u)&&O.createElement("span",{className:"vkuiButton__after",role:"presentation","data-testid":void 0},u)))},_k={none:"vkuiIconButton--sizeY-none",compact:"vkuiIconButton--sizeY-compact"},kk=e=>{var{label:t,children:i,className:r}=e,n=Md(e,["label","children","className"]);const o=t_(),{sizeY:a="none"}=tv();return O.createElement(v_,uv(Nd({activeEffectDelay:200,activeMode:"background",Component:n.href?"a":"button"},n),{className:Fd("vkuiIconButton","regular"!==a&&_k[a],"ios"===o&&"vkuiIconButton--ios",r)}),t&&O.createElement(ak,null,t),i)};function hk(e,t){return e.nav||e.id}const fk=O.createContext({entering:!1}),mk=({children:e,entering:t})=>{const i=Av({entering:O.useContext(fk).entering||t});return O.createElement(fk.Provider,{value:i},e)},gk=O.createContext(void 0),bk=({children:e,isBack:t})=>{const i=O.useContext(gk),r=void 0!==t?t:i,[n]=O.useState(r);return O.createElement(gk.Provider,{value:n},e)};function yk(e){const t=O.useRef();return O.useEffect((()=>{t.current=e})),t.current}const xk=Boolean(Ld&&window.__isVkuiTesting),wk={supported:!1},zk={supported:!1,name:null};Ld&&!xk&&(("undefined"!=typeof AnimationEvent||"undefined"!=typeof WebKitAnimationEvent)&&(wk.supported=!0),"undefined"!=typeof TransitionEvent?(zk.supported=!0,zk.name="transitionend"):"undefined"!=typeof WebKitTransitionEvent&&(zk.supported=!0,zk.name="webkitTransitionEnd"));const Sk=O.createContext(void 0),Ck=O.createContext(void 0),Ik=e=>null!=e.clientX?e.clientX:e.changedTouches&&e.changedTouches[0].clientX,Pk=e=>null!=e.clientY?e.clientY:e.changedTouches&&e.changedTouches[0].clientY,Bk=()=>Ld&&"ontouchstart"in window;function Ek(){return Bk()?["touchstart","touchmove","touchend","touchcancel"]:["mousedown","mousemove","mouseup","mouseleave"]}const Rk=e=>{var{onStart:t,onStartX:i,onStartY:r,onMove:n,onMoveX:o,onMoveY:a,onLeave:l,onEnter:u,onEnd:c,onEndX:s,onEndY:d,onClickCapture:v,usePointerHover:p,slideThreshold:_=5,useCapture:k=!1,Component:h="div",getRootRef:f,noSlideClick:m=!1,stopPropagation:g=!1}=e,b=Md(e,["onStart","onStartX","onStartY","onMove","onMoveX","onMoveY","onLeave","onEnter","onEnd","onEndX","onEndY","onClickCapture","usePointerHover","slideThreshold","useCapture","Component","getRootRef","noSlideClick","stopPropagation"]);const{document:y}=yv(),x=O.useMemo(Ek,[]),w=O.useRef(!1),z=O.useRef(null),S=(e,t)=>{g&&e.stopPropagation(),t.forEach((t=>{var i,r,n;const o=Date.now()-(null!==(n=null===(r=z.current)||void 0===r||null===(i=r.startT)||void 0===i?void 0:i.getTime())&&void 0!==n?n:0);t&&t(uv(Nd({},z.current),{duration:o,originalEvent:e}))}))},C=__(p?"pointerenter":"mouseenter",u),I=__(p?"pointerleave":"mouseleave",l),P=__(x[0],(e=>{var n,o;z.current=(n=Ik(e),o=Pk(e),{startX:n,startY:o,startT:new Date,duration:0,isPressed:!0,isY:!1,isX:!1,isSlideX:!1,isSlideY:!1,isSlide:!1,clientX:0,clientY:0,shiftX:0,shiftY:0,shiftXAbs:0,shiftYAbs:0}),S(e,[t,i,r]),function(e){e&&T.forEach((t=>t.add(e)))}(Bk()?e.target:y)}),{capture:k,passive:!1}),B=p_(f);function E(e){var t;const{isPressed:i,isSlide:r,isSlideX:n,isSlideY:o}=null!==(t=z.current)&&void 0!==t?t:{};i&&S(e,[c,o&&d,n&&s]);const a=Bk();w.current=(!a||!r)&&Boolean(r),z.current={},a&&l&&l(e),T.forEach((e=>e.remove()))}Pv((()=>{const e=B.current;e&&(C.add(e),I.add(e),P.add(e))}),[h]);const R={capture:k,passive:!1},T=[__(x[1],(function(e){var t;const{isPressed:i,isX:r,isY:l,startX:u=0,startY:c=0}=null!==(t=z.current)&&void 0!==t?t:{};if(i){var s;const t=Ik(e),i=Pk(e),d=t-u,v=i-c,p=Math.abs(d),k=Math.abs(v);if(e.touches&&e.touches.length>1)return E(e);if(!r&&!l){const e=p>=_&&p>k,t=k>=_&&k>p,i=e&&(!!o||!!n),r=t&&(!!a||!!n);z.current&&Object.assign(z.current,{isY:t,isX:e,isSlideX:i,isSlideY:r,isSlide:i||r})}(null===(s=z.current)||void 0===s?void 0:s.isSlide)&&(Object.assign(z.current,{clientX:t,clientY:i,shiftX:d,shiftY:v,shiftXAbs:p,shiftYAbs:k}),S(e,[n,z.current.isSlideX&&o,z.current.isSlideY&&a]))}}),R),__(x[2],E,R),__(x[3],E,R)];return O.createElement(h,uv(Nd({},b),{onDragStart:e=>{const t=e.target;"A"!==t.tagName&&"IMG"!==t.tagName||e.preventDefault()},onClickCapture:e=>{if(!w.current)return v&&v(e);m?(e.stopPropagation(),e.preventDefault()):v&&v(e),w.current=!1},ref:B}))};function Tk(e){return gv(e).some((e=>"scrollLeft"in e&&e.scrollLeft>0))}const Ak=(e,t,i)=>({swipedToOpposite:t<0,swipeBackTriggered:t>=10,viewportStartEdgeTouched:e<=20,viewportEndEdgeTouched:e>=i-20});let Hk={};const Nk=e=>{var{activePanel:t,history:i,nav:r,onTransition:n,onSwipeBack:o,onSwipeBackStart:a,onSwipeBackCancel:l,children:u,className:c}=e,s=Md(e,["activePanel","history","nav","onTransition","onSwipeBack","onSwipeBackStart","onSwipeBackCancel","children","className"]);const d=hk({nav:r,id:s.id}),v=O.useRef(Hk[d]||{}),p=O.useRef(Dd);O.useEffect((()=>()=>{d&&(Hk[d]=v.current)}));const _=O.useRef({}),{window:k,document:h}=yv(),f=tp(),m=Vv(),g=O.useContext(f_),b=t_(),[y,x]=O.useState(!1),[w,z]=O.useState([t]),[S,C]=O.useState(t),[I,P]=O.useState(void 0),[B,E]=O.useState(null),[R,T]=O.useState(null),A=O.useRef(!1),[H,N]=O.useState(void 0),[M,L]=O.useState(0),[F,D]=O.useState(0),[W,V]=O.useState(null),[G,Y]=O.useState(null),[j,U]=O.useState(null),[X,K]=O.useState(!1),$=yk(t),q=yk(H),Q=yk(X),Z=yk(j),J=yk(F),ee=yk(G),te=yk(n),ie=O.Children.toArray(u).filter((e=>{const t=hk(e.props);return void 0!==t&&w.includes(t)||t===G||t===W})),re=!m.transitionMotionEnabled||!g.animate||"vkcom"===b,ne=!re&&"ios"===b&&m.isWebView&&Boolean(o),oe=e=>null===e?null:_.current[e],ae=O.useCallback(((e,i)=>{i&&(v.current[e]=0),E(null),T(null),z([t]),C(t),x(!1),P(i),p.current=()=>{null==f||f.scrollTo(0,i?v.current[t]:0),n&&n({isBack:i,from:e,to:t})}}),[t,n,f]);Pv((()=>{p.current(),p.current=Dd}),[p.current]);const le=O.useCallback((e=>{e&&!["vkuianimation-ios-next-forward","vkuianimation-ios-prev-back","vkuianimation-view-next-forward","vkuianimation-view-prev-back"].includes(e.animationName)||null===B||ae(B,Boolean(I))}),[ae,I,B]),{waitTransitionFinish:ue}=(()=>{const e=O.useRef(null),{document:t}=yv(),i=O.useRef(Dd),r=O.useCallback((()=>{i.current(),i.current=Dd}),[]);return{waitTransitionFinish:O.useCallback(((n,o,a)=>{n&&(!(null==t?void 0:t.hidden)&&zk.supported&&zk.name?(r(),n.addEventListener(zk.name,o),i.current=()=>{zk.name&&n.removeEventListener(zk.name,o)}):((null==e?void 0:e.current)&&clearTimeout(e.current),e.current=setTimeout(o,a)))}),[t,r,e])}})(),ce=i_(le,"ios"===b?600:300),se=O.useCallback((()=>{o&&o()}),[o]),de=O.useCallback((()=>{l&&l(),Y(null),V(null),N(!1),U(null),L(0),D(0)}),[l]),ve=O.useCallback((e=>{if(!e||(null==e?void 0:e.propertyName.includes("transform"))&&(null==e?void 0:e.target)===oe(W))switch(j){case"fail":de();break;case"success":se()}}),[de,se,W,j]),pe=e=>{if(!Ld||!k)return{};const t=e===G,i=e===W;if(!t&&!i||j)return{};let r=`${F}px`,n=100*F/k.innerWidth/2-50+"%";return i?{transform:`translate3d(${n}, 0, 0)`,WebkitTransform:`translate3d(${n}, 0, 0)`}:t?{transform:`translate3d(${r}, 0, 0)`,WebkitTransform:`translate3d(${r}, 0, 0)`}:{}},_e=e=>{if(!Ld||!k)return{};if(e!==W)return{};const t=1-F/k.innerWidth,i="success"===j?0:"fail"===j?1:null;return{display:"block",opacity:null===i?t:i}};return O.useEffect((()=>{if($&&$!==t&&!q&&!Q){const e=O.Children.toArray(u).map((e=>hk(e.props))).find((e=>e===$||e===t)),i=e===t;v.current[$]=null==f?void 0:f.getScroll().y,re?ae($,i):(wv(h),z([$,t]),E($),T(t),C(null),x(!0),P(i),wk.supported||ce.set())}if($&&$!==t&&q){const e=t,i=$;ee&&(v.current[ee]=0),Y(null),V(null),N(!1),U(null),L(0),D(0),C(e),z([e]),P(!0),p.current=()=>{null!==e&&(null==f||f.scrollTo(0,v.current[e])),te&&te({isBack:!0,from:i,to:e})}}!Z&&j&&ue(oe(W),ve,"ios"===b?600:300),$!==t&&X&&(K(!1),T(null),E(null),x(!1),z([t]),C(t))}),[t,S,ce,X,u,re,h,ae,b,$,Q,te,ee,Z,q,f,W,j,ve,ue]),O.useEffect((function(){("fail"===Z&&!j||q&&!H&&0===J)&&null!==S&&(null==f||f.scrollTo(0,v.current[S]))}),[Z,j,q,H,J,S,f]),O.createElement(Sk.Provider,{value:d},O.createElement(Rk,uv(Nd({Component:"section"},s),{className:Fd("vkuiView","ios"===b&&Fd("vkuiView--ios","vkuiInternalView--ios"),!re&&y&&"vkuiView--animated",!re&&H&&"vkuiView--swiping-back",re&&"vkuiView--no-motion",c),onMoveX:ne?e=>{if(A.current||function(e){var t;const i=e.originalEvent.target;return Boolean(null==i||null===(t=i.closest)||void 0===t?void 0:t.call(i,"input, textarea, [data-vkui-swipe-back=false]"))}(e))return;const{swipedToOpposite:t,swipeBackTriggered:r,viewportStartEdgeTouched:n}=Ak(e.startX,e.shiftX,k.innerWidth);if(!y||!r){if(!H&&i&&i.length>1){if(t)return void(A.current=!0);if(!r)return;if(!n&&Tk(e.originalEvent.target))return void(A.current=!0);if(a&&"prevent"===a(S))return void(A.current=!0);null!==S&&(wv(h),v.current[S]=null==f?void 0:f.getScroll().y),N(!0),L(e.startX),Y(S),V(i.slice(-2)[0])}H&&(e.shiftX<0?D(0):e.shiftX>k.innerWidth-M?D(k.innerWidth):D(e.shiftX))}}:"ios"===b?e=>{if(X)return;const{swipeBackTriggered:t,viewportStartEdgeTouched:i,viewportEndEdgeTouched:r}=Ak(e.startX,e.shiftX,k.innerWidth);(i||r)&&t&&K(!0)}:void 0,onEnd:ne?e=>{if(A.current=!1,H){const i=F/e.duration*1e3;var t;0===F?de():F>=(null!==(t=k.innerWidth)&&void 0!==t?t:0)?se():i>250||F>=k.innerWidth/2?U("success"):U("fail")}}:void 0}),O.createElement("div",{className:"vkuiView__panels"},ie.map((e=>{const t=hk(e.props),i=y&&t===(I?B:R),r=t===B||t===G||t===W||t===R&&I;var n;return O.createElement("div",{className:Fd("vkuiView__panel",t===S&&"vkuiView__panel--active",t===B&&"vkuiView__panel--prev",t===R&&"vkuiView__panel--next",t===G&&"vkuiView__panel--swipe-back-prev",t===W&&"vkuiView__panel--swipe-back-next","success"===j&&"vkuiView__panel--swipe-back-success","fail"===j&&"vkuiView__panel--swipe-back-failed"),onAnimationEnd:i?le:void 0,ref:e=>void 0!==t&&(_.current[t]=e),style:pe(t),key:t},"ios"===b&&O.createElement("div",{className:"vkuiView__panel-overlay",style:_e(t)}),O.createElement("div",{className:"vkuiView__panel-in",style:{marginTop:r?-(null!==(n=v.current[t])&&void 0!==n?n:0):void 0}},O.createElement(bk,{isBack:H||I},O.createElement(mk,{entering:t===R||t===W},e))))})))))},Mk={none:"vkuiPanel--sizeX-none",compact:"vkuiPanel--sizeX-compact",regular:"vkuiPanel--sizeX-regular"},Lk=e=>{var{centered:t=!1,children:i,nav:r}=e,n=Md(e,["centered","children","nav"]);const{sizeX:o="none"}=tv(),{layout:a}=O.useContext(qv);return O.createElement(Ck.Provider,{value:n.id||r},O.createElement(up,uv(Nd({},n),{baseClassName:Fd("vkuiPanel",Mk[o],t&&"vkuiInternalPanel--centered","card"===a&&"vkuiPanel--layout-card")}),O.createElement(Rk,{Component:h_,className:Fd("vkuiPanel__in","vkuiInternalPanel__in")},O.createElement("div",{className:"vkuiPanel__in-before"}),t?O.createElement("div",{className:"vkuiPanel__centered"},i):i,O.createElement("div",{className:"vkuiPanel__in-after"}))))},Fk={ios:"vkuiPanelHeaderButton--ios",android:"vkuiPanelHeaderButton--android",vkcom:"vkuiPanelHeaderButton--vkcom"},Dk=({primary:e,children:t})=>{const i=t_();return"ios"===i?O.createElement(vp,{Component:"span",level:"3",weight:e?"1":"3"},t):O.createElement(fp,{weight:"vkcom"===i?void 0:"2"},t)},Ok=e=>{var{children:t,primary:i=!1,label:r,className:n}=e,o=Md(e,["children","primary","label","className"]);const a=Xd(t),l=Xd(r),u=t_();let c,s;switch(u){case"ios":c="background",s="opacity";break;case"vkcom":c="vkuiPanelHeaderButton--hover",s="vkuiPanelHeaderButton--active";break;default:c="background",s="background"}return O.createElement(v_,uv(Nd({Component:o.href?"a":"button"},o),{hoverMode:c,activeEffectDelay:200,activeMode:s,className:Fd("vkuiInternalPanelHeaderButton","vkuiPanelHeaderButton",Fk.hasOwnProperty(u)?Fk[u]:Fk.android,a&&"vkuiPanelHeaderButton--primitive",!a&&!l&&"vkuiPanelHeaderButton--notPrimitive",n)}),a?O.createElement(Dk,{primary:i},t):t,l?O.createElement(Dk,{primary:i,className:"vkuiPanelHeaderButton__label"},r):r)},Wk={mq:{className:"vkui-sizeX--compact-mq"},compact:{className:"vkui-sizeX--compact-forced"}},Vk={mq:{className:"vkui-sizeX--regular-mq"},regular:{className:"vkui-sizeX--regular-forced"}},Gk={mq:{className:"vkui-sizeY--compact-mq"},compact:{className:"vkui-sizeY--compact-forced"}},Yk={mq:{className:"vkui-sizeY--regular-mq"},regular:{className:"vkui-sizeY--regular-forced"}},jk={tabletMinus:{mq:{className:"vkui-viewWidth--tabletMinus-mq"},forced:{className:"vkui-viewWidth--tabletMinus-forced"}},tabletPlus:{mq:{className:"vkui-viewWidth--tabletPlus-mq"},forced:{className:"vkui-viewWidth--tabletPlus-forced"}}},Uk={mobile:{mq:{className:"vkui-deviceType--mobile-mq"},forced:{className:"vkui-deviceType--mobile-forced"}},desktop:{mq:{className:"vkui-deviceType--desktop-mq"},forced:{className:"vkui-deviceType--desktop-forced"}}},Xk=(e,t,i)=>({compact:void 0===e?t.mq:"compact"===e&&t[e],regular:void 0===e?i.mq:"regular"===e&&i[e]}),Kk=(e,t,i,r,n)=>{const o=function(e,t,i,r){const n="vkcom"===r;return(void 0===e||void 0===i)&&(void 0===e||void 0===t)||void 0===i&&void 0===t?!!n||null:e>=Rp&&(i||void 0!==t&&t>=Mp)||n}(e,t,i,r);return null===o?{mobile:n.mobile.mq,desktop:n.desktop.mq}:o?{mobile:!1,desktop:n.desktop.forced}:{mobile:n.mobile.forced,desktop:!1}},$k=()=>{const{sizeX:e,sizeY:t,viewWidth:i,viewHeight:r,hasPointer:n}=O.useContext(ev),o=t_();return O.useMemo((()=>{const a=Xk(e,Wk,Vk),l=Xk(t,Gk,Yk),u=((e,t)=>({tabletMinus:void 0===e?t.tabletMinus.mq:e<Tp&&t.tabletMinus.forced,tabletPlus:void 0===e?t.tabletPlus.mq:e>=Tp&&t.tabletPlus.forced}))(i,jk);return{sizeX:a,sizeY:l,viewWidth:u,deviceType:Kk(i,r,n,o,Uk)}}),[e,t,i,r,n,o])},qk=O.createContext({updateModalHeight:()=>{},registerModal:()=>{},isInsideModal:!1}),Qk=e=>{var{wide:t}=e,i=Md(e,["wide"]);return O.createElement(up,uv(Nd({},i),{baseClassName:Fd("vkuiSeparator",!t&&"vkuiSeparator--padded")}),O.createElement("hr",{className:"vkuiSeparator__in"}))},Zk=e=>{var{size:t=8,style:i}=e,r=Md(e,["size","style"]);const n=Nd({height:t,padding:t/2+"px 0"},i);return O.createElement(up,uv(Nd({},r),{baseClassName:"vkuiSpacing",style:n}))},Jk={ios:"vkuiPanelHeader--ios",android:"vkuiPanelHeader--android",vkcom:Fd("vkuiPanelHeader--vkcom","vkuiInternalPanelHeader--vkcom")},eh={none:"vkuiPanelHeader--sizeX-none",regular:"vkuiPanelHeader--sizeX-regular"},th={none:"vkuiPanelHeader--sizeY-none",compact:"vkuiPanelHeader--sizeY-compact"},ih=({before:e,after:t,children:i,typographyProps:r={}})=>{const{Component:n="span"}=r,o=Md(r,["Component"]),{hasCustomPanelHeaderAfter:a,customPanelHeaderAfterMinWidth:l}=Vv(),{isInsideModal:u}=O.useContext(qk),c=!a||u?{children:t}:{style:{minWidth:l}},s="vkcom"===t_()?O.createElement(fp,Nd({weight:"2",Component:n},o),i):O.createElement(n,Nd({className:"vkuiPanelHeader__content-in"},o),i);return O.createElement(h_,{fixed:!0,className:"vkuiPanelHeader__in"},O.createElement("div",{className:Fd("vkuiPanelHeader__before","vkuiInternalPanelHeader__before")},e),O.createElement("div",{className:"vkuiPanelHeader__content"},s),O.createElement("div",Nd({className:Fd("vkuiPanelHeader__after","vkuiInternalPanelHeader__after")},c)))},rh=e=>{var{before:t,children:i,after:r,float:n=!1,transparent:o=!1,delimiter:a="auto",shadow:l,getRef:u,getRootRef:c,fixed:s,typographyProps:d}=e,v=Md(e,["before","children","after","float","transparent","delimiter","shadow","getRef","getRootRef","fixed","typographyProps"]);const p=t_(),{sizeX:_="none",sizeY:k="none"}=tv(),{sizeX:h}=$k(),f="vkcom"===p,m=void 0!==s?s:!f,g="auto"===a||"separator"===a,b=!n&&g,y=!n&&("auto"===a||"spacing"===a);return O.createElement(up,uv(Nd({},v),{baseClassName:Fd("vkuiPanelHeader","vkuiInternalPanelHeader",Jk.hasOwnProperty(p)?Jk[p]:Jk.android,o&&"vkuiPanelHeader--trnsp",l&&"vkuiPanelHeader--shadow",!n&&Fd("vkuiPanelHeader--static","vkuiInternalPanelHeader--static"),b&&Fd("vkuiPanelHeader--sep","vkuiInternalPanelHeader--sep"),!t&&Fd("vkuiPanelHeader--no-before","vkuiInternalPanelHeader--no-before"),!r&&"vkuiPanelHeader--no-after",m&&"vkuiPanelHeader--fixed","compact"!==_&&eh[_],"regular"!==k&&th[k]),getRootRef:m?c:u}),m?O.createElement(g_,{className:Fd("vkuiPanelHeader__fixed","vkuiInternalPanelHeader__fixed"),vertical:"top",getRootRef:u},O.createElement(ih,{before:t,after:r,typographyProps:d},i)):O.createElement(ih,{before:t,after:r,typographyProps:d},i),!f&&O.createElement(O.Fragment,null,b&&h.compact&&O.createElement(Qk,{className:h.compact.className}),y&&h.regular&&O.createElement(Zk,{className:h.regular.className,size:16})),g&&f&&O.createElement(Qk,{className:"vkuiPanelHeader__separator",wide:!0}))};function nh(e){var{children:t}=e,i=Md(e,["children"]);const r=Av(Nd({},Vv(),i));return O.createElement(Ov.Provider,{value:r},t)}const oh=({value:e,children:t})=>O.createElement(nh,{appearance:e},O.createElement(Kv,null,t)),ah=({children:e,usePortal:t})=>{const{portalRoot:i,mode:r,disablePortal:n}=O.useContext(qv),o=C_();if(!S_())return null;const a=function(e,t){return!0!==e&&e?np(e)?e.current:e:t||null}(t,i.current);return!a||function(e,t,i){return void 0!==e?"boolean"==typeof e&&(i||!0!==e):i||"full"===t}(t,r,Boolean(n))?O.createElement(O.Fragment,null,e):((e,t,i)=>{const r=t||Iv();return r&&nd.createPortal(e,r,i)})(O.createElement(oh,{value:o},e),a)},lh=e=>{var{className:t}=e,i=Md(e,["className"]);return O.createElement("div",Nd({className:Fd("vkuiPopoutRoot__popout",t)},i))},uh=e=>{var{className:t}=e,i=Md(e,["className"]);return O.createElement("div",Nd({className:Fd("vkuiPopoutRoot__modal",t)},i))},ch=e=>{var{popout:t,modal:i,children:r}=e,n=Md(e,["popout","modal","children"]);const{document:o}=yv();return O.useEffect((()=>{t&&wv(o)}),[o,t]),O.createElement(up,uv(Nd({},n),{baseClassName:"vkuiPopoutRoot"}),r,O.createElement(ah,null,!!t&&O.createElement(lh,null,t),!!i&&O.createElement(uh,null,i)))},sh=e=>{var{popout:t,modal:i,header:r,children:n,getRootRef:o,getRef:a,className:l}=e,u=Md(e,["popout","modal","header","children","getRootRef","getRef","className"]);const c=t_();return O.createElement(ch,{className:Fd("vkuiSplitLayout","ios"===c&&"vkuiSplitLayout--ios"),popout:t,modal:i,getRootRef:o},r,O.createElement("div",uv(Nd({},u),{ref:a,className:Fd("vkuiSplitLayout__inner",!!r&&"vkuiSplitLayout__inner--header",l)}),n))},dh={window:void 0,mediaQueries:null};function vh(e,t){e.addEventListener?e.addEventListener("change",t):e.addListener(t)}function ph(e,t){e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}const _h={none:Fd("vkuiSplitCol--viewWidth-none","vkuiInternalSplitCol--viewWidth-none"),tabletMinus:"vkuiSplitCol--viewWidth-tabletMinus",smallTabletPlus:"vkuiSplitCol--viewWidth-smallTabletPlus",tabletPlus:"vkuiInternalSplitCol--viewWidth-tabletPlus"};function kh(e){const{viewWidth:t}=tv(),[i,r]=O.useState(Boolean(e)),n=(()=>{const{window:e}=yv();return O.useMemo((function(){if(dh.window===e&&null!==dh.mediaQueries)return dh.mediaQueries;const t=e?e.matchMedia.bind(e):Mv;return dh.window=e,dh.mediaQueries={desktopPlus:t(Pp.MEDIA_QUERIES.DESKTOP_PLUS),smallTabletPlus:t(Pp.MEDIA_QUERIES.SMALL_TABLET_PLUS),tablet:t(Pp.MEDIA_QUERIES.TABLET),smallTablet:t(Pp.MEDIA_QUERIES.SMALL_TABLET),mobile:t(Pp.MEDIA_QUERIES.MOBILE),mediumHeight:t(Pp.MEDIA_QUERIES.MEDIUM_HEIGHT),mobileLandscapeHeight:t(Pp.MEDIA_QUERIES.MOBILE_LANDSCAPE_HEIGHT)},dh.mediaQueries}),[e])})();return O.useEffect((()=>{if(void 0!==e)return void r(e);if(void 0!==t)return void r(t<Tp);const i=()=>r(!n.smallTabletPlus.matches);return i(),vh(n.smallTabletPlus,i),()=>{ph(n.smallTabletPlus,i)}}),[e,t,n]),i}const hh=e=>{const{children:t,width:i,maxWidth:r,minWidth:n,animate:o,fixed:a,style:l,autoSpaced:u,stretchedOnMobile:c,getRootRef:s}=e,d=Md(e,["children","width","maxWidth","minWidth","animate","fixed","style","autoSpaced","stretchedOnMobile","getRootRef"]),v=p_(s),{viewWidth:p}=tv(),_=Av({colRef:v,animate:kh(o)});return O.createElement(up,uv(Nd({},d),{style:uv(Nd({},l),{width:i,maxWidth:r,minWidth:n}),getRootRef:v,baseClassName:Fd("vkuiSplitCol",Vp(_h,p),u&&Fd("vkuiSplitCol--spaced-auto","vkuiInternalSplitCol--spaced-auto"),a&&"vkuiSplitCol--fixed",c&&"vkuiSplitCol--stretched-on-mobile")}),O.createElement(f_.Provider,{value:_},a?O.createElement("div",{className:"vkuiSplitCol__fixedInner"},t):t))},fh={center:"vkuiPopoutWrapper--alignX-center",left:"vkuiPopoutWrapper--alignX-left",right:"vkuiPopoutWrapper--alignX-right"},mh={center:"vkuiPopoutWrapper--alignY-center",top:"vkuiPopoutWrapper--alignY-top",bottom:"vkuiPopoutWrapper--alignY-bottom"},gh=e=>{var{alignY:t="center",alignX:i="center",closing:r=!1,noBackground:n=!1,fixed:o=!0,children:a,onClick:l}=e,u=Md(e,["alignY","alignX","closing","noBackground","fixed","children","onClick"]);const c=t_(),[s,d]=O.useState(n),v=e=>{e&&"vkuianimation-full-fade-in"!==e.animationName||d(!0)},p=i_(v,"ios"===c?300:200);return O.useEffect((()=>{!s&&p.set()}),[p,s]),O.createElement(up,uv(Nd({},u),{baseClassName:Fd("vkuiPopoutWrapper",mh[t],fh[i],r&&"vkuiPopoutWrapper--closing",s&&"vkuiPopoutWrapper--opened",o&&"vkuiPopoutWrapper--fixed",!n&&"vkuiPopoutWrapper--masked"),onAnimationEnd:s?void 0:v}),O.createElement("div",{className:"vkuiPopoutWrapper__container"},O.createElement("div",{className:"vkuiPopoutWrapper__overlay",onClick:l}),O.createElement("div",{className:"vkuiPopoutWrapper__content"},a)))},bh=({IconCompact:e,IconRegular:t})=>{const{sizeY:i}=$k();return O.createElement(O.Fragment,null,i.compact&&O.createElement(e,{className:i.compact.className}),i.regular&&O.createElement(t,{className:i.regular.className}))},yh=e=>O.createElement("svg",Nd({className:"vkuiIcon",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),O.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 24c0 8.837-7.163 16-16 16S8 32.837 8 24 15.163 8 24 8s16 7.163 16 16Zm-10.08-4.33a1.125 1.125 0 0 0-1.59-1.59L24 22.409l-4.33-4.33a1.125 1.125 0 0 0-1.59 0l-.101.116a1.125 1.125 0 0 0 .1 1.476L22.41 24l-4.33 4.33a1.125 1.125 0 0 0 1.591 1.59L24 25.591l4.33 4.33c.439.439 1.151.439 1.59 0l.101-.116a1.125 1.125 0 0 0-.1-1.476L25.59 24l4.33-4.33Z",fill:"currentColor"})),xh=e=>O.createElement("svg",Nd({className:"vkuiIcon",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),O.createElement("path",{d:"M9 24L19 34L39 14",stroke:"currentColor",strokeWidth:"3.5",strokeLinecap:"round",strokeLinejoin:"round"})),wh=e=>{var{style:t,className:i,state:r="loading",size:n="large",onClick:o,children:a="Пожалуйста, подождите..."}=e,l=Md(e,["style","className","state","size","onClick","children"]);const u="done"===r||"error"===r,c={loading:()=>null,cancelable:j_,done:xh,error:yh}[r];return((e=!0)=>{const{enableScrollLock:t,disableScrollLock:i,isScrollLock:r}=tp();Pv((()=>e&&!r?(t(),i):Dd),[t,i,e])})(),O.createElement(gh,{noBackground:!0,className:Fd("vkuiScreenSpinner","cancelable"===r&&"vkuiScreenSpinner--clickable",i),style:t},O.createElement("div",{className:"vkuiScreenSpinner__container",onClick:o},O.createElement(lk,Nd({className:Fd("vkuiScreenSpinner__spinner",u&&"vkuiScreenSpinner__spinner--hidden"),size:n},l),a),O.createElement("div",{className:Fd("vkuiScreenSpinner__icon","done"===r&&"vkuiScreenSpinner__icon--state-done")},O.createElement(c,null))))},zh=e=>{var{mode:t,size:i}=e,r=Md(e,["mode","size"]);const n="large"===i;if("ios"===t_())switch(t){case"primary":return n?O.createElement(vp,Nd({level:"2",weight:"2"},r)):O.createElement(vp,Nd({weight:"1",level:"3"},r));case"secondary":return O.createElement(yp,Nd({weight:"1",caps:!0},r));case"tertiary":return O.createElement(vp,Nd({weight:"1",level:"3"},r))}switch(t){case"primary":return n?O.createElement(vp,Nd({level:"2",weight:"2"},r)):O.createElement(kp,Nd({weight:"2"},r));case"secondary":return O.createElement(yp,Nd({weight:"1",caps:!0},r));case"tertiary":return O.createElement(kp,Nd({weight:"2"},r))}return null},Sh={primary:"vkuiHeader--mode-primary",secondary:"vkuiHeader--mode-secondary",tertiary:"vkuiHeader--mode-tertiary"},Ch=e=>{var{mode:t="primary",size:i="regular",Component:r="h2",children:n,subtitle:o,subtitleComponent:a="span",indicator:l,aside:u,multiline:c}=e,s=Md(e,["mode","size","Component","children","subtitle","subtitleComponent","indicator","aside","multiline"]);return O.createElement(up,uv(Nd({},s),{baseClassName:Fd("vkuiHeader",Sh[t],"large"===i&&"vkuiHeader--large",Xd(l)&&"vkuiHeader--pi",Ud(o)&&"vkuiHeader--with-subtitle")}),O.createElement("div",{className:"vkuiHeader__main"},O.createElement(zh,{className:"vkuiHeader__content",Component:r,mode:t,size:i},O.createElement("span",{className:Fd("vkuiHeader__content-in",c&&"vkuiHeader__content--multiline")},n),Ud(l)&&O.createElement(yp,{className:"vkuiHeader__indicator",weight:"2"},l)),Ud(o)&&O.createElement(bp,{className:Fd("vkuiHeader__subtitle",c&&"vkuiHeader__content--multiline"),Component:a},o)),Ud(u)&&O.createElement(mp,{className:"vkuiHeader__aside",Component:"span"},u))},Ih={none:Fd("vkuiGroup--sizeX-none","vkuiInternalGroup--sizeX-none"),compact:"vkuiGroup--sizeX-compact"},Ph={none:Fd("vkuiGroup--mode-none","vkuiInternalGroup--mode-none"),plain:Fd("vkuiGroup--mode-plain","vkuiInternalGroup--mode-plain"),card:Fd("vkuiGroup--mode-card","vkuiInternalGroup--mode-card")},Bh={s:"vkuiGroup--padding-s",m:"vkuiGroup--padding-m"},Eh=e=>{var{header:t,description:i,children:r,separator:n="auto",mode:o,padding:a="m",tabIndex:l}=e,u=Md(e,["header","description","children","separator","mode","padding","tabIndex"]);const{isInsideModal:c}=O.useContext(qk),{sizeX:s="none"}=tv(),d=function(e,t,i){const{layout:r}=O.useContext(qv);return e||(i?"plain":r||("none"!==t?"regular"===t?"card":"plain":"none"))}(o,s,c),v="tabpanel"===u.role&&void 0===l?0:l;return O.createElement(O.Fragment,null,O.createElement(up,uv(Nd({Component:"section"},u),{tabIndex:v,baseClassName:Fd("vkuiInternalGroup","vkuiGroup",c&&"vkuiGroup--inside-modal","regular"!==s&&Ih[s],d&&Ph[d],Bh[a])}),Ud(t)&&O.createElement("div",{className:"vkuiGroup__header"},t),r,Ud(i)&&O.createElement(yp,{className:"vkuiGroup__description"},i)),"hide"!==n&&O.createElement(O.Fragment,null,O.createElement(Zk,{className:Fd("vkuiGroup__separator","vkuiGroup__separator--spacing"),size:16}),O.createElement(Qk,{className:Fd("vkuiGroup__separator","vkuiGroup__separator--separator","show"===n&&"vkuiGroup__separator--force")})))},Rh=50,Th=(e,t)=>{const i=Math.floor(hv(t).scrollTop),{relative:r,edges:n}=(e=>{const t=vv(e)?sv(e):e,i=Cv(e),r=t.scrollY+i.top;return{relative:i,edges:{y:[r,r+i.height]}}})(t),o=r.height;var a;const l=i>0,u=i<(xv(a=t)?a.document.documentElement.scrollHeight:a.scrollHeight)-o,[c,s]=n.y,d=e-c,v=s-e,p=d<=Rh,_=v<=Rh,k={shouldScrolling:l&&p&&d>=-30||u&&_&&v>=-30,y:0};return p?k.y=(Rh-d)/Rh*-1*10:_&&(k.y=(Rh-v)/Rh*10),k},Ah=e=>{let t=!1;const i=(e=>{let t=[],i=null;const r=(...r)=>{t=r,i||(i=requestAnimationFrame((()=>{i=null,e(...t)})))};return r.cancel=()=>{i&&(cancelAnimationFrame(i),i=null)},r})((function(r){const{shouldScrolling:n,y:o}=r();n?(t=!0,e.scrollBy(0,o),i(r)):(t=!1,i.cancel())}));return{tryAutoScroll:e=>{i(e)},stop:()=>{t=!1,i.cancel()},get isRunning(){return t}}},Hh=(e,t)=>{requestAnimationFrame((()=>{e.style.transform=`translateY(${t}px)`}))},Nh=([{el:e,draggingElRect:{height:t}},i])=>{requestAnimationFrame((()=>{"up"===i?(e.style.setProperty("transition","transform 0.3s ease-in 0s"),e.style.removeProperty("transform")):(e.style.setProperty("transition","transform 0.3s ease-out 0s"),e.style.setProperty("transform",`translateY(${t}px)`))}))},Mh=({el:e})=>{e.firstElementChild&&e.firstElementChild.remove()},Lh=({el:e,shifted:t,draggingElRect:i})=>{const{height:r}=i;requestAnimationFrame((()=>{e.style.setProperty("pointer-events","none"),e.style.setProperty("transition","none 0s ease 0s"),t&&e.style.setProperty("transform",`translateY(${r}px)`)}))},Fh=({el:e})=>{requestAnimationFrame((()=>{e.style.removeProperty("pointer-events"),e.style.removeProperty("transition"),e.style.removeProperty("transform")}))},Dh=({elRef:e,onDragFinish:t})=>{const[i,r]=O.useState(!1),n=O.useRef(0),o=O.useRef(0),a=O.useRef(null),l=O.useRef(0),u=O.useRef(null),c=e=>{const t=(e=>{const t=mv(e);return null!=(i=t)&&"tagName"in i&&"BODY"===i.tagName?sv(t):pv(e)?t:null;var i})(e);t&&(a.current=t,l.current=hv(t).scrollTop,u.current=Ah(a.current))},s=O.useRef(void 0),d=(e,t)=>{const i=e-t;return i<0?"down":i>0?"up":s.current},v=O.useRef(-1),p=O.useRef(-1),_=O.useRef(null),k=O.useRef(null),h=O.useRef([]),f=e=>{const t=Cv(e,!0),{children:i}=e.parentElement||{children:[]};Array.prototype.forEach.call(i,((i,r)=>{i===e?(v.current=p.current=r,_.current={index:r,el:i,draggingElRect:t}):null!==i.getAttribute("data-draggable-placeholder")?k.current={index:r,el:i,draggingElRect:t}:h.current.push({index:r,el:i,shifted:-1!==v.current&&v.current<r,draggingElRect:t})})),k.current&&(({el:e,draggingElRect:t})=>{if(e.firstElementChild)return;const{width:i,height:r}=t,n=e.cloneNode();n.style.setProperty("display","block"),n.style.setProperty("width",`${i}px`),n.style.setProperty("height",`${r}px`),n.style.setProperty("pointer-events","none"),e.appendChild(n)})(k.current),_.current&&(({el:e,draggingElRect:t})=>{const{top:i,left:r,width:n,height:o}=t;requestAnimationFrame((()=>{e.style.setProperty("pointer-events","none"),e.style.setProperty("position","fixed"),e.style.setProperty("top",`${i}px`),e.style.setProperty("left",`${r}px`),e.style.setProperty("width",`${n}px`),e.style.setProperty("height",`${o}px`),e.style.setProperty("z-index","var(--vkui_internal--z_index_cell_dragging)"),e.style.setProperty("box-sizing","border-box"),e.style.setProperty("transform","translateY(0)")}))})(_.current),h.current.forEach(Lh)},m=()=>{k.current&&Mh(k.current),_.current&&(({el:e})=>{requestAnimationFrame((()=>{e.style.removeProperty("pointer-events"),e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("z-index"),e.style.removeProperty("box-sizing"),e.style.removeProperty("transform")}))})(_.current),h.current.forEach(Fh),h.current=[],k.current=_.current=null;const e={from:v.current,to:p.current};return v.current=p.current=-1,e},g=e=>{const t=[],i=[];return p.current=v.current,h.current.forEach((r=>{const{isOverEl:n,isUnderEl:o}=((e,t)=>{const i=t.height/2;return{isUnderEl:e<=t.bottom-i,isOverEl:e>=t.top+i}})(e,Cv(r.el));v.current<r.index?(n&&(p.current=p.current+1,"down"===s.current&&r.shifted&&(r.shifted=!1,t.push([r,"up"]))),o&&("up"!==s.current||r.shifted||(r.shifted=!0,i.push([r,"down"])))):v.current>r.index&&(o&&(p.current=p.current-1,"up"!==s.current||r.shifted||(r.shifted=!0,t.push([r,"down"]))),n&&"down"===s.current&&r.shifted&&(r.shifted=!1,i.push([r,"up"])))})),[t,i]},b=(e,t)=>{e.forEach(Nh),t.forEach(Nh)},y=O.useRef(null),x=()=>{y.current&&(clearTimeout(y.current),y.current=null)},w=()=>{x(),y.current=setTimeout((()=>{y.current=null,u.current&&u.current.tryAutoScroll((()=>a.current?Th(n.current,a.current):{shouldScrolling:!1,y:0}))}),300)},z=O.useCallback((()=>{if(!e.current||!a.current)return;const t=hv(a.current).scrollTop;s.current=d(l.current,t);const i=l.current-t,r=n.current+i;l.current=t;const[o,u]=g(r);b(o,u)}),[e]);return Pv((function(){const e=a.current;if(i&&e)return e.addEventListener("scroll",z),()=>{e&&e.removeEventListener("scroll",z)}}),[i,z]),Pv((()=>function(){k.current&&Mh(k.current)}),[]),{dragging:i,onDragStart:e=>{e.originalEvent.stopPropagation(),e.originalEvent.preventDefault()},onDragMove:t=>{t.originalEvent.stopPropagation(),t.originalEvent.preventDefault();const a=e.current;if(a)if(i)if(s.current=d(o.current,t.shiftY),o.current=t.shiftY,n.current=t.clientY,u.current&&u.current.isRunning)Hh(a,o.current);else{const[e,t]=g(n.current);Hh(a,o.current),b(e,t),w()}else r((e=>e||(c(a),f(a),!0)))},onDragEnd:e=>{var c;if(e.originalEvent.stopPropagation(),e.originalEvent.preventDefault(),x(),l.current=0,null===(c=u.current)||void 0===c||c.stop(),a.current=u.current=null,n.current=o.current=0,s.current=void 0,i){const e=m();t&&t(e),r(!1)}}}},Oh=({onRemove:e,removePlaceholder:t,removePlaceholderString:i,children:r,toggleButtonTestId:n,removeButtonTestId:o})=>{const{window:a}=yv(),l=O.useRef(null),u=O.useRef(!0),[c,s]=O.useState(0);return k_(a,"click",(()=>{c>0&&s(0)}),{capture:!0}),O.createElement("div",{className:Fd("vkuiRemovable__content","vkuiInternalRemovable__content"),style:{transform:`translateX(-${null!=c?c:0}px)`},onTransitionEnd:()=>{var e;c>0?null==l||null===(e=l.current)||void 0===e||e.focus():u.current=!0}},O.createElement(kk,{hasActive:!1,hasHover:!1,className:Fd("vkuiRemovable__action","vkuiRemovable__toggle","vkuiInternalRemovable__action"),onClick:e=>{if(e.stopPropagation(),!l.current)return;const{offsetWidth:t}=l.current;u.current=!1,s(t)},disabled:c>0,"data-testid":n},O.createElement(ak,null,i),O.createElement("i",{className:"vkuiRemovable__toggle-in",role:"presentation"})),"function"==typeof r?r({isRemoving:c>0}):r,O.createElement("span",{className:"vkuiRemovable__offset","aria-hidden":!0}),O.createElement(v_,{Component:"button",hasActive:!1,hasHover:!1,disabled:u.current,getRootRef:l,className:"vkuiRemovable__remove",onClick:e,"data-testid":o},O.createElement("span",{className:"vkuiRemovable__remove-in"},t)))},Wh=e=>{var{children:t,onRemove:i=Dd,removePlaceholder:r="Удалить",align:n="center",indent:o=!1,toggleButtonTestId:a,removeButtonTestId:l}=e,u=Md(e,["children","onRemove","removePlaceholder","align","indent","toggleButtonTestId","removeButtonTestId"]);const c=t_(),s=e=>{e.preventDefault(),i(e)},d=rv(r);return O.createElement(up,uv(Nd({},u),{baseClassName:Fd("ios"===c&&"vkuiRemovable--ios","start"===n&&"vkuiRemovable--align-start",o&&"vkuiRemovable--indent")}),"ios"!==c&&O.createElement("div",{className:Fd("vkuiRemovable__content","vkuiInternalRemovable__content")},"function"==typeof t?t({isRemoving:!1}):t,O.createElement(kk,{activeMode:"opacity",hoverMode:"opacity",className:Fd("vkuiRemovable__action","vkuiInternalRemovable__action"),onClick:s,label:d,"data-testid":l},O.createElement(j_,{role:"presentation"})),O.createElement("span",{className:"vkuiRemovable__offset","aria-hidden":!0})),"ios"===c&&O.createElement(Oh,{onRemove:s,removePlaceholder:r,removePlaceholderString:d,toggleButtonTestId:a,removeButtonTestId:l},t))},Vh={s:O_,m:q_},Gh=e=>{var{size:t="m"}=e,i=Md(e,["size"]);const r=Vh[t];return O.createElement(r,i)},Yh={none:"vkuiSimpleCell--sizeY-none",compact:"vkuiSimpleCell--sizeY-compact"},jh=e=>{var{badgeBeforeTitle:t,badgeAfterTitle:i,badgeBeforeSubtitle:r,badgeAfterSubtitle:n,before:o,indicator:a,children:l,after:u,expandable:c,multiline:s,subhead:d,subtitle:v,extraSubtitle:p,className:_,chevronSize:k="m"}=e,h=Md(e,["badgeBeforeTitle","badgeAfterTitle","badgeBeforeSubtitle","badgeAfterSubtitle","before","indicator","children","after","expandable","multiline","subhead","subtitle","extraSubtitle","className","chevronSize"]);const f=t_(),m="always"===c||"auto"===c&&"ios"===f,g=Ud(u)||m,{sizeY:b="none"}=tv();return O.createElement(v_,uv(Nd({},h),{className:Fd("vkuiSimpleCell","regular"!==b&&Yh[b],s&&"vkuiSimpleCell--mult",_)}),O.createElement("div",{className:"vkuiSimpleCell__before"},o),O.createElement("div",{className:"vkuiSimpleCell__middle"},d&&O.createElement(bp,{Component:"span",className:Fd("vkuiSimpleCell__text","vkuiSimpleCell__subhead")},d),O.createElement("div",{className:"vkuiSimpleCell__content"},t&&O.createElement("span",{className:"vkuiSimpleCell__badge"},t),O.createElement(kp,{Component:"span",className:"vkuiSimpleCell__children",weight:"3"},l),Ud(i)&&O.createElement("span",{className:"vkuiSimpleCell__badge"},i)),v&&O.createElement("div",{className:"vkuiSimpleCell__content"},r&&O.createElement("span",{className:"vkuiSimpleCell__badge"},r),O.createElement(yp,{normalize:!1,className:Fd("vkuiSimpleCell__text","vkuiSimpleCell__subtitle")},v),n&&O.createElement("span",{className:"vkuiSimpleCell__badge"},n)),p&&O.createElement(yp,{className:Fd("vkuiSimpleCell__text","vkuiSimpleCell__extraSubtitle")},p)),Ud(a)&&O.createElement(kp,{Component:"span",weight:"3",className:"vkuiSimpleCell__indicator"},a),g&&O.createElement("div",{className:Fd("vkuiSimpleCell__after","vkuiInternalSimpleCell__after")},u,m&&O.createElement(Gh,{size:k,className:"vkuiSimpleCell__chevronIcon"})))},Uh=()=>O.createElement(bh,{IconCompact:G_,IconRegular:X_}),Xh=()=>O.createElement(bh,{IconCompact:V_,IconRegular:U_}),Kh=e=>{var{getRootRef:t,getRef:i,className:r,style:n,type:o="auto"}=e,a=Md(e,["getRootRef","getRef","className","style","type"]);const l=function(e){const t=t_();return"auto"!==e?e:"ios"===t||"vkcom"===t?"circle":"square"}(o),u="circle"===l?K_:Xh,c="circle"===l?$_:Uh;return O.createElement("span",{className:Fd("vkuiCellCheckbox",r),style:n,ref:t},O.createElement(ak,uv(Nd({},a),{Component:"input",type:"checkbox",className:"vkuiCellCheckbox__input",getRootRef:i})),O.createElement("span",{className:Fd("vkuiCellCheckbox__icon","vkuiCellCheckbox__icon--off"),"aria-hidden":!0},O.createElement(u,null)),O.createElement("span",{className:Fd("vkuiCellCheckbox__icon","vkuiCellCheckbox__icon--on"),"aria-hidden":!0},O.createElement(c,null)))},$h=e=>{var{elRef:t,disabled:i,className:r,onDragStateChange:n,onDragFinish:o,children:a}=e,l=Md(e,["elRef","disabled","className","onDragStateChange","onDragFinish","children"]);const u="ios"===t_()?J_:Z_,{dragging:c,onDragStart:s,onDragMove:d,onDragEnd:v}=Dh({elRef:t,onDragFinish:o});return Pv((()=>{n&&n(c)}),[c,n]),O.createElement(Rk,Nd({className:Fd("vkuiCellDragger",r),onStart:i?void 0:s,onMoveY:i?void 0:d,onEnd:i?void 0:v},l),a&&O.createElement(ak,null,a),O.createElement(u,{className:"vkuiCellDragger__icon"}))},qh="Перенести ячейку",Qh=e=>{var{mode:t,onRemove:i=Dd,removePlaceholder:r="Удалить",onDragFinish:n,before:o,after:a,disabled:l,draggable:u,Component:c,onChange:s,name:d,value:v,checked:p,defaultChecked:_,getRootRef:k,draggerLabel:h=qh,className:f,style:m,toggleButtonTestId:g,removeButtonTestId:b}=e,y=Md(e,["mode","onRemove","removePlaceholder","onDragFinish","before","after","disabled","draggable","Component","onChange","name","value","checked","defaultChecked","getRootRef","draggerLabel","className","style","toggleButtonTestId","removeButtonTestId"]);const[x,w]=O.useState(!1),z="selectable"===t,S="removable"===t,C=z?"label":c,I=t_(),P=p_(k),B=u?O.createElement($h,{elRef:P,className:"vkuiCell__dragger",disabled:l,onDragStateChange:w,onDragFinish:n},h):null;let E;if(z){const e={name:d,value:v,defaultChecked:_,checked:p,disabled:l,onChange:s};E=O.createElement(Kh,Nd({className:"vkuiCell__checkbox"},e))}const R=u&&!z||S&&!y.onClick||l,T=!R&&!x,A=Fd("vkuiCell",x&&"vkuiCell--dragging","ios"===I&&"vkuiCell--ios",S&&"vkuiCell--removable","label"===C&&"vkuiCell--selectable",l&&"vkuiCell--disabled"),H=uv(Nd({hasActive:T,hasHover:T&&!S},y),{className:"vkuiCell__content",Component:C,before:O.createElement(O.Fragment,null,u&&"ios"!==I&&B,z&&E,o),after:O.createElement(O.Fragment,null,u&&"ios"===I&&B,a)});return y.onClick&&(H.disabled=R),S?O.createElement(Wh,{className:Fd(A,f),style:m,getRootRef:P,removePlaceholder:r,onRemove:e=>i(e,P.current),toggleButtonTestId:g,removeButtonTestId:b},"ios"===I?({isRemoving:e})=>(H.onClick&&(H.disabled=e||!H.disabled),O.createElement(jh,H)):O.createElement(jh,H)):O.createElement("div",{className:Fd(A,f),style:m,ref:P},O.createElement(jh,H))};Qh.Checkbox=Kh;const Zh=e=>{var{width:t=12,height:i=12}=e,r=Md(e,["width","height"]);return O.createElement(F_,uv(Nd({},r),{width:t>=24?15:12,height:i>=24?15:12}))},Jh=e=>{var{width:t=8,height:i=12}=e,r=Md(e,["width","height"]);return O.createElement(D_,uv(Nd({},r),{width:t>=24?9:8,height:i>=24?15:12}))};function ef(e){if(e<=16)return 5;if(e<=24)return 8;if(e<=32)return 10;if(e<=36)return 13;if(e<=44)return 14;if(e<=48)return 17;if(e<56)return 18;if(e<=64)return 21;if(e<=88)return 26;if(e<=96)return 30;const t=Math.ceil(.3125*e);return t+t%2}const tf=48,rf={1:"red",2:"orange",3:"yellow",4:"green",5:"l-blue",6:"violet"},nf={red:"vkuiAvatar--gradient-red",orange:"vkuiAvatar--gradient-orange",yellow:"vkuiAvatar--gradient-yellow",green:"vkuiAvatar--gradient-green",blue:"vkuiAvatar--gradient-blue","l-blue":"vkuiAvatar--gradient-l-blue",violet:"vkuiAvatar--gradient-violet"},of=e=>{var{size:t=tf,className:i,gradientColor:r,initials:n,fallbackIcon:o,children:a}=e,l=Md(e,["size","className","gradientColor","initials","fallbackIcon","children"]);const u="number"==typeof r?rf[r]:r,c=u&&"custom"!==u,s=n?O.createElement("div",{className:"vkuiAvatar__initials",style:{fontSize:ef(t)}},n):o;return O.createElement(I_,uv(Nd({},l),{size:t,fallbackIcon:s,className:Fd("vkuiAvatar",u&&"vkuiAvatar--has-gradient",c&&nf[u],i)}),a)};of.Badge=e=>{var{className:t}=e,i=Md(e,["className"]);const{size:r}=O.useContext(x_);return O.createElement(I_.Badge,uv(Nd({},i),{className:Fd("vkuiAvatarBadge",r<96&&"vkuiAvatarBadge--shifted",t)}))},of.BadgeWithPreset=e=>{var{preset:t="online",className:i}=e,r=Md(e,["preset","className"]);const{size:n}=O.useContext(x_),o=w_(n),a="online"===t,l=a?"vkuiAvatarBadge--preset-online":"vkuiAvatarBadge--preset-onlineMobile",u=a?Zh:Jh;return O.createElement(I_.Badge,Nd({background:"stroke",className:Fd("vkuiAvatarBadge",l,i)},r),O.createElement(u,{width:o,height:o}))},of.Overlay=I_.Overlay,of.getInitialsFontSize=ef;const af=e=>{var{hasVisited:t,children:i,className:r,onClick:n=Dd}=e,o=Md(e,["hasVisited","children","className","onClick"]);return O.createElement(v_,uv(Nd({Component:o.href?"a":"button",onClick:n},o),{className:Fd("vkuiLink",t&&"vkuiLink--has-visited",r),hasHover:!1,activeMode:"opacity",focusVisibleMode:"outside"}),i)},lf=e=>{var{stretched:t,noPadding:i=!1}=e,r=Md(e,["stretched","noPadding"]);return O.createElement(up,Nd({baseClassName:Fd("vkuiPlaceholder",t&&"vkuiPlaceholder--stretched",!i&&"vkuiPlaceholder--withPadding")},r))},uf=e=>O.createElement(up,Nd({baseClassName:"vkuiPlaceholder__icon"},e)),cf=e=>{var{className:t}=e,i=Md(e,["className"]);return O.createElement(vp,Nd({level:"2",weight:"2",className:Fd(t,"vkuiPlaceholder__header")},i))},sf=e=>{var{className:t}=e,i=Md(e,["className"]);return O.createElement(kp,Nd({weight:"3",className:Fd(t,"vkuiPlaceholder__text")},i))},df=e=>O.createElement(up,Nd({baseClassName:"vkuiPlaceholder__action"},e)),vf=e=>{var{icon:t,header:i,children:r,action:n,noPadding:o=!1}=e,a=Md(e,["icon","header","children","action","noPadding"]);return O.createElement(lf,Nd({noPadding:o},a),Ud(t)&&O.createElement(uf,null,t),Ud(i)&&O.createElement(cf,null,i),Ud(r)&&O.createElement(sf,null,r),Ud(n)&&O.createElement(df,null,n))};vf.Container=lf,vf.Icon=uf,vf.Header=cf,vf.Text=sf,vf.Actions=df;const pf=({viewWidth:e,viewHeight:t,sizeX:i,sizeY:r,hasPointer:n,hasHover:o,children:a})=>{const l=O.useMemo((()=>{const a={viewWidth:e,viewHeight:t,sizeX:i,sizeY:r,hasPointer:n,hasHover:o};return void 0===i&&void 0!==e&&(a.sizeX=function(e){return e<=Ep?"compact":"regular"}(e)),void 0===r&&(function(e,t){return void 0!==e&&e>=Rp&&t}(e,n)||function(e){return void 0!==e&&e<=Hp}(t)?a.sizeY="compact":void 0===e&&void 0===t||(a.sizeY="regular")),a}),[e,t,i,r,n,o]);return O.createElement(ev.Provider,{value:l},a)},_f=e=>O.createElement(up,Nd({baseClassName:"vkuiDiv"},e)),kf=e=>{var{label:t,className:i,children:r="Назад"}=e,n=Md(e,["label","className","children"]);const o=t_(),{sizeX:a="none"}=tv(),l="vkcom"===o||"ios"===o;return O.createElement(Ok,uv(Nd({},n),{className:Fd("compact"===a&&"vkuiPanelHeaderBack--sizeX-compact","ios"===o&&"vkuiPanelHeaderBack--ios","vkcom"===o&&"vkuiPanelHeaderBack--vkcom",l&&!!t&&"vkuiPanelHeaderBack--has-label",i),label:l&&t}),r&&O.createElement(ak,null,r),(e=>{switch(e){case"ios":return O.createElement(ik,null);case"vkcom":return O.createElement(bh,{IconCompact:Q_,IconRegular:rk});default:return O.createElement(bh,{IconCompact:Y_,IconRegular:tk})}})(o))},hf=e=>{const t=(e=>{const t={};for(const i in e)e.hasOwnProperty(i)&&void 0!==e[i]&&(t[i]=e[i]);return t})(e),i=Vv(),{children:r,hasCustomPanelHeaderAfter:n,customPanelHeaderAfterMinWidth:o,isWebView:a,transitionMotionEnabled:l,platform:u,locale:c,appearance:s,tokensClassNames:d}=Nd({},i,t),v=(e=>{const{window:t}=yv(),[i,r]=O.useState(e||jv);return Pv((()=>{if(e)return r(e),Dd;const i=t?t.matchMedia("(prefers-color-scheme: dark)"):void 0;if(!i)return Dd;const n=e=>{r(e.matches?Yv:jv)};return n(i),vh(i,n),()=>ph(i,n)}),[t,e]),i})(s),p=Av({hasCustomPanelHeaderAfter:n,customPanelHeaderAfterMinWidth:o,isWebView:a,transitionMotionEnabled:l,platform:u,locale:c,tokensClassNames:d,appearance:v});return O.createElement(Ov.Provider,{value:p},O.createElement(Kv,null,r))};
/**
             * @remix-run/router v1.15.3
             *
             * Copyright (c) Remix Software Inc.
             *
             * This source code is licensed under the MIT license found in the
             * LICENSE.md file in the root directory of this source tree.
             *
             * @license MIT
             */
function ff(){return ff=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},ff.apply(this,arguments)}var mf;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(mf||(mf={}));const gf="popstate";function bf(e){return void 0===e&&(e={}),function(e,t,i,r){void 0===r&&(r={});let{window:n=document.defaultView,v5Compat:o=!1}=r,a=n.history,l=mf.Pop,u=null,c=s();function s(){return(a.state||{idx:null}).idx}function d(){l=mf.Pop;let e=s(),t=null==e?null:e-c;c=e,u&&u({action:l,location:k.location,delta:t})}function v(e,t){l=mf.Push;let r=zf(k.location,e,t);i&&i(r,e),c=s()+1;let d=wf(r,c),v=k.createHref(r);try{a.pushState(d,"",v)}catch(p){if(p instanceof DOMException&&"DataCloneError"===p.name)throw p;n.location.assign(v)}o&&u&&u({action:l,location:k.location,delta:1})}function p(e,t){l=mf.Replace;let r=zf(k.location,e,t);i&&i(r,e),c=s();let n=wf(r,c),d=k.createHref(r);a.replaceState(n,"",d),o&&u&&u({action:l,location:k.location,delta:0})}function _(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,i="string"==typeof e?e:Sf(e);return i=i.replace(/ $/,"%20"),yf(t,"No window.location.(origin|href) available to create URL for href: "+i),new URL(i,t)}null==c&&(c=0,a.replaceState(ff({},a.state,{idx:c}),""));let k={get action(){return l},get location(){return e(n,a)},listen(e){if(u)throw new Error("A history only accepts one active listener");return n.addEventListener(gf,d),u=e,()=>{n.removeEventListener(gf,d),u=null}},createHref:e=>t(n,e),createURL:_,encodeLocation(e){let t=_(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:v,replace:p,go:e=>a.go(e)};return k}((function(e,t){let{pathname:i="/",search:r="",hash:n=""}=Cf(e.location.hash.substr(1));return i.startsWith("/")||i.startsWith(".")||(i="/"+i),zf("",{pathname:i,search:r,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let i=e.document.querySelector("base"),r="";if(i&&i.getAttribute("href")){let t=e.location.href,i=t.indexOf("#");r=-1===i?t:t.slice(0,i)}return r+"#"+("string"==typeof t?t:Sf(t))}),(function(e,t){xf("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function yf(e,t){if(!1===e||null==e)throw new Error(t)}function xf(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(i){}}}function wf(e,t){return{usr:e.state,key:e.key,idx:t}}function zf(e,t,i,r){return void 0===i&&(i=null),ff({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Cf(t):t,{state:i,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Sf(e){let{pathname:t="/",search:i="",hash:r=""}=e;return i&&"?"!==i&&(t+="?"===i.charAt(0)?i:"?"+i),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Cf(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var If;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(If||(If={}));const Pf=new Set(["lazy","caseSensitive","path","id","index","children"]);function Bf(e,t,i,r){return void 0===i&&(i=[]),void 0===r&&(r={}),e.map(((e,n)=>{let o=[...i,n],a="string"==typeof e.id?e.id:o.join("-");if(yf(!0!==e.index||!e.children,"Cannot specify children on an index route"),yf(!r[a],'Found a route id collision on id "'+a+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let i=ff({},e,t(e),{id:a});return r[a]=i,i}{let i=ff({},e,t(e),{id:a,children:void 0});return r[a]=i,e.children&&(i.children=Bf(e.children,t,o,r)),i}}))}function Ef(e,t,i){void 0===i&&(i="/");let r=Yf(("string"==typeof t?Cf(t):t).pathname||"/",i);if(null==r)return null;let n=Rf(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let i=e.length===t.length&&e.slice(0,-1).every(((e,i)=>e===t[i]));return i?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(n);let o=null;for(let a=0;null==o&&a<n.length;++a){let e=Gf(r);o=Wf(n[a],e)}return o}function Rf(e,t,i,r){void 0===t&&(t=[]),void 0===i&&(i=[]),void 0===r&&(r="");let n=(e,n,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};a.relativePath.startsWith("/")&&(yf(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=Kf([r,a.relativePath]),u=i.concat(a);e.children&&e.children.length>0&&(yf(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),Rf(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:Of(l,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var i;if(""!==e.path&&null!=(i=e.path)&&i.includes("?"))for(let r of Tf(e.path))n(e,t,r);else n(e,t)})),t}function Tf(e){let t=e.split("/");if(0===t.length)return[];let[i,...r]=t,n=i.endsWith("?"),o=i.replace(/\?$/,"");if(0===r.length)return n?[o,""]:[o];let a=Tf(r.join("/")),l=[];return l.push(...a.map((e=>""===e?o:[o,e].join("/")))),n&&l.push(...a),l.map((t=>e.startsWith("/")&&""===t?"/":t))}const Af=/^:[\w-]+$/,Hf=3,Nf=2,Mf=1,Lf=10,Ff=-2,Df=e=>"*"===e;function Of(e,t){let i=e.split("/"),r=i.length;return i.some(Df)&&(r+=Ff),t&&(r+=Nf),i.filter((e=>!Df(e))).reduce(((e,t)=>e+(Af.test(t)?Hf:""===t?Mf:Lf)),r)}function Wf(e,t){let{routesMeta:i}=e,r={},n="/",o=[];for(let a=0;a<i.length;++a){let e=i[a],l=a===i.length-1,u="/"===n?t:t.slice(n.length)||"/",c=Vf({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},u);if(!c)return null;Object.assign(r,c.params);let s=e.route;o.push({params:r,pathname:Kf([n,c.pathname]),pathnameBase:$f(Kf([n,c.pathnameBase])),route:s}),"/"!==c.pathnameBase&&(n=Kf([n,c.pathnameBase]))}return o}function Vf(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[i,r]=function(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!0),xf("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,i)=>(r.push({paramName:t,isOptional:null!=i}),i?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let o=new RegExp(n,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),n=t.match(i);if(!n)return null;let o=n[0],a=o.replace(/(.)\/+$/,"$1"),l=n.slice(1);return{params:r.reduce(((e,t,i)=>{let{paramName:r,isOptional:n}=t;if("*"===r){let e=l[i]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const u=l[i];return e[r]=n&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:a,pattern:e}}function Gf(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return xf(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Yf(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,r=e.charAt(i);return r&&"/"!==r?null:e.slice(i)||"/"}function jf(e,t,i,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+i+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Uf(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function Xf(e,t,i,r){let n;void 0===r&&(r=!1),"string"==typeof e?n=Cf(e):(n=ff({},e),yf(!n.pathname||!n.pathname.includes("?"),jf("?","pathname","search",n)),yf(!n.pathname||!n.pathname.includes("#"),jf("#","pathname","hash",n)),yf(!n.search||!n.search.includes("#"),jf("#","search","hash",n)));let o,a=""===e||""===n.pathname,l=a?"/":n.pathname;if(null==l)o=i;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:i,search:r="",hash:n=""}="string"==typeof e?Cf(e):e,o=i?i.startsWith("/")?i:function(e,t){let i=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?i.length>1&&i.pop():"."!==e&&i.push(e)})),i.length>1?i.join("/"):"/"}(i,t):t;return{pathname:o,search:qf(r),hash:Qf(n)}}(n,o),c=l&&"/"!==l&&l.endsWith("/"),s=(a||"."===l)&&i.endsWith("/");return u.pathname.endsWith("/")||!c&&!s||(u.pathname+="/"),u}const Kf=e=>e.join("/").replace(/\/\/+/g,"/"),$f=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qf=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Qf=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class Zf{constructor(e,t,i,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}const Jf=["post","put","patch","delete"],em=new Set(Jf),tm=["get",...Jf],im=new Set(tm),rm=new Set([301,302,303,307,308]),nm=new Set([307,308]),om={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},am={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},lm={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},um=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cm=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),sm="remix-router-transitions";function dm(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,i=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,r=!i;let n;if(yf(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)n=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;n=e=>({hasErrorBoundary:t(e)})}else n=cm;let o,a,l={},u=Bf(e.routes,n,void 0,l),c=e.basename||"/",s=ff({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),d=null,v=new Set,p=null,_=null,k=null,h=null!=e.hydrationData,f=Ef(u,e.history.location,c),m=null;if(null==f){let t=Cm(404,{pathname:e.history.location.pathname}),{matches:i,route:r}=Sm(u);f=i,m={[r.id]:t}}let g,b=f.some((e=>e.route.lazy)),y=f.some((e=>e.route.loader));if(b)a=!1;else if(y)if(s.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,i=e.hydrationData?e.hydrationData.errors:null,r=e=>!e.route.loader||!0!==e.route.loader.hydrate&&(t&&void 0!==t[e.route.id]||i&&void 0!==i[e.route.id]);if(i){let e=f.findIndex((e=>void 0!==i[e.route.id]));a=f.slice(0,e+1).every(r)}else a=f.every(r)}else a=null!=e.hydrationData;else a=!0;let x,w={historyAction:e.history.action,location:e.history.location,matches:f,initialized:a,navigation:om,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||m,fetchers:new Map,blockers:new Map},z=mf.Pop,S=!1,C=!1,I=new Map,P=null,B=!1,E=!1,R=[],T=[],A=new Map,H=0,N=-1,M=new Map,L=new Set,F=new Map,D=new Map,O=new Set,W=new Map,V=new Map,G=!1;function Y(e,t){void 0===t&&(t={}),w=ff({},w,e);let i=[],r=[];s.v7_fetcherPersist&&w.fetchers.forEach(((e,t)=>{"idle"===e.state&&(O.has(t)?r.push(t):i.push(t))})),[...v].forEach((e=>e(w,{deletedFetchers:r,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),s.v7_fetcherPersist&&(i.forEach((e=>w.fetchers.delete(e))),r.forEach((e=>J(e))))}function j(t,i,r){var n,a;let l,{flushSync:c}=void 0===r?{}:r,s=null!=w.actionData&&null!=w.navigation.formMethod&&Tm(w.navigation.formMethod)&&"loading"===w.navigation.state&&!0!==(null==(n=t.state)?void 0:n._isRedirect);l=i.actionData?Object.keys(i.actionData).length>0?i.actionData:null:s?w.actionData:null;let d=i.loaderData?wm(w.loaderData,i.loaderData,i.matches||[],i.errors):w.loaderData,v=w.blockers;v.size>0&&(v=new Map(v),v.forEach(((e,t)=>v.set(t,lm))));let p,_=!0===S||null!=w.navigation.formMethod&&Tm(w.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);if(o&&(u=o,o=void 0),B||z===mf.Pop||(z===mf.Push?e.history.push(t,t.state):z===mf.Replace&&e.history.replace(t,t.state)),z===mf.Pop){let e=I.get(w.location.pathname);e&&e.has(t.pathname)?p={currentLocation:w.location,nextLocation:t}:I.has(t.pathname)&&(p={currentLocation:t,nextLocation:w.location})}else if(C){let e=I.get(w.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),I.set(w.location.pathname,e)),p={currentLocation:w.location,nextLocation:t}}Y(ff({},i,{actionData:l,loaderData:d,historyAction:z,location:t,initialized:!0,navigation:om,revalidation:"idle",restoreScrollPosition:ce(t,i.matches||w.matches),preventScrollReset:_,blockers:v}),{viewTransitionOpts:p,flushSync:!0===c}),z=mf.Pop,S=!1,C=!1,B=!1,E=!1,R=[],T=[]}async function U(t,i,r){x&&x.abort(),x=null,z=t,B=!0===(r&&r.startUninterruptedRevalidation),function(e,t){if(p&&k){let i=ue(e,t);p[i]=k()}}(w.location,w.matches),S=!0===(r&&r.preventScrollReset),C=!0===(r&&r.enableViewTransition);let a=o||u,d=r&&r.overrideNavigation,v=Ef(a,i,c),_=!0===(r&&r.flushSync);if(!v){let e=Cm(404,{pathname:i.pathname}),{matches:t,route:r}=Sm(a);return le(),void j(i,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:_})}if(w.initialized&&!E&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}(w.location,i)&&!(r&&r.submission&&Tm(r.submission.formMethod)))return void j(i,{matches:v},{flushSync:_});x=new AbortController;let h,f,m=gm(e.history,i,x.signal,r&&r.submission);if(r&&r.pendingError)f={[zm(v).route.id]:r.pendingError};else if(r&&r.submission&&Tm(r.submission.formMethod)){let e=await async function(e,t,i,r,o){void 0===o&&(o={}),$();let a,u=function(e,t){let i={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return i}(t,i);Y({navigation:u},{flushSync:!0===o.flushSync});let d=Mm(r,t);if(d.route.action||d.route.lazy){if(a=await mm("action",e,d,r,l,n,c,s.v7_relativeSplatPath),e.signal.aborted)return{shortCircuited:!0}}else a={type:If.error,error:Cm(405,{method:e.method,pathname:t.pathname,routeId:d.route.id})};if(Rm(a)){let e;return e=o&&null!=o.replace?o.replace:a.location===w.location.pathname+w.location.search,await X(w,a,{submission:i,replace:e}),{shortCircuited:!0}}if(Em(a)){let e=zm(r,d.route.id);return!0!==(o&&o.replace)&&(z=mf.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:a.error}}}if(Bm(a))throw Cm(400,{type:"defer-action"});return{pendingActionData:{[d.route.id]:a.data}}}(m,i,r.submission,v,{replace:r.replace,flushSync:_});if(e.shortCircuited)return;h=e.pendingActionData,f=e.pendingActionError,d=Fm(i,r.submission),_=!1,m=new Request(m.url,{signal:m.signal})}let{shortCircuited:g,loaderData:b,errors:y}=await async function(t,i,r,n,a,l,d,v,p,_,k){let h=n||Fm(i,a),f=a||l||Lm(h),m=o||u,[g,b]=_m(e.history,w,r,f,i,s.v7_partialHydration&&!0===v,E,R,T,O,F,L,m,c,_,k);if(le((e=>!(r&&r.some((t=>t.route.id===e)))||g&&g.some((t=>t.route.id===e)))),N=++H,0===g.length&&0===b.length){let e=ie();return j(i,ff({matches:r,loaderData:{},errors:k||null},_?{actionData:_}:{},e?{fetchers:new Map(w.fetchers)}:{}),{flushSync:p}),{shortCircuited:!0}}if(!(B||s.v7_partialHydration&&v)){b.forEach((e=>{let t=w.fetchers.get(e.key),i=Dm(void 0,t?t.data:void 0);w.fetchers.set(e.key,i)}));let e=_||w.actionData;Y(ff({navigation:h},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},b.length>0?{fetchers:new Map(w.fetchers)}:{}),{flushSync:p})}b.forEach((e=>{A.has(e.key)&&ee(e.key),e.controller&&A.set(e.key,e.controller)}));let y=()=>b.forEach((e=>ee(e.key)));x&&x.signal.addEventListener("abort",y);let{results:z,loaderResults:S,fetcherResults:C}=await K(w.matches,r,g,b,t);if(t.signal.aborted)return{shortCircuited:!0};x&&x.signal.removeEventListener("abort",y),b.forEach((e=>A.delete(e.key)));let I=Im(z);if(I){if(I.idx>=g.length){let e=b[I.idx-g.length].key;L.add(e)}return await X(w,I.result,{replace:d}),{shortCircuited:!0}}let{loaderData:P,errors:M}=xm(w,r,g,S,k,b,C,W);W.forEach(((e,t)=>{e.subscribe((i=>{(i||e.done)&&W.delete(t)}))})),s.v7_partialHydration&&v&&w.errors&&Object.entries(w.errors).filter((e=>{let[t]=e;return!g.some((e=>e.route.id===t))})).forEach((e=>{let[t,i]=e;M=Object.assign(M||{},{[t]:i})}));let D=ie(),V=re(N),G=D||V||b.length>0;return ff({loaderData:P,errors:M},G?{fetchers:new Map(w.fetchers)}:{})}(m,i,v,d,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,_,h,f);g||(x=null,j(i,ff({matches:v},h?{actionData:h}:{},{loaderData:b,errors:y})))}async function X(r,n,o){let{submission:a,fetcherSubmission:l,replace:u}=void 0===o?{}:o;n.revalidate&&(E=!0);let s=zf(r.location,n.location,{_isRedirect:!0});if(yf(s,"Expected a location on the redirect navigation"),i){let i=!1;if(n.reloadDocument)i=!0;else if(um.test(n.location)){const r=e.history.createURL(n.location);i=r.origin!==t.location.origin||null==Yf(r.pathname,c)}if(i)return void(u?t.location.replace(n.location):t.location.assign(n.location))}x=null;let d=!0===u?mf.Replace:mf.Push,{formMethod:v,formAction:p,formEncType:_}=r.navigation;!a&&!l&&v&&p&&_&&(a=Lm(r.navigation));let k=a||l;if(nm.has(n.status)&&k&&Tm(k.formMethod))await U(d,s,{submission:ff({},k,{formAction:n.location}),preventScrollReset:S});else{let e=Fm(s,a);await U(d,s,{overrideNavigation:e,fetcherSubmission:l,preventScrollReset:S})}}async function K(t,i,r,o,a){let u=await Promise.all([...r.map((e=>mm("loader",a,e,i,l,n,c,s.v7_relativeSplatPath))),...o.map((t=>t.matches&&t.match&&t.controller?mm("loader",gm(e.history,t.path,t.controller.signal),t.match,t.matches,l,n,c,s.v7_relativeSplatPath):{type:If.error,error:Cm(404,{pathname:t.path})}))]),d=u.slice(0,r.length),v=u.slice(r.length);return await Promise.all([Am(t,r,d,d.map((()=>a.signal)),!1,w.loaderData),Am(t,o.map((e=>e.match)),v,o.map((e=>e.controller?e.controller.signal:null)),!0)]),{results:u,loaderResults:d,fetcherResults:v}}function $(){E=!0,R.push(...le()),F.forEach(((e,t)=>{A.has(t)&&(T.push(t),ee(t))}))}function q(e,t,i){void 0===i&&(i={}),w.fetchers.set(e,t),Y({fetchers:new Map(w.fetchers)},{flushSync:!0===(i&&i.flushSync)})}function Q(e,t,i,r){void 0===r&&(r={});let n=zm(w.matches,t);J(e),Y({errors:{[n.route.id]:i},fetchers:new Map(w.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Z(e){return s.v7_fetcherPersist&&(D.set(e,(D.get(e)||0)+1),O.has(e)&&O.delete(e)),w.fetchers.get(e)||am}function J(e){let t=w.fetchers.get(e);!A.has(e)||t&&"loading"===t.state&&M.has(e)||ee(e),F.delete(e),M.delete(e),L.delete(e),O.delete(e),w.fetchers.delete(e)}function ee(e){let t=A.get(e);yf(t,"Expected fetch controller: "+e),t.abort(),A.delete(e)}function te(e){for(let t of e){let e=Om(Z(t).data);w.fetchers.set(t,e)}}function ie(){let e=[],t=!1;for(let i of L){let r=w.fetchers.get(i);yf(r,"Expected fetcher: "+i),"loading"===r.state&&(L.delete(i),e.push(i),t=!0)}return te(e),t}function re(e){let t=[];for(let[i,r]of M)if(r<e){let e=w.fetchers.get(i);yf(e,"Expected fetcher: "+i),"loading"===e.state&&(ee(i),M.delete(i),t.push(i))}return te(t),t.length>0}function ne(e){w.blockers.delete(e),V.delete(e)}function oe(e,t){let i=w.blockers.get(e)||lm;yf("unblocked"===i.state&&"blocked"===t.state||"blocked"===i.state&&"blocked"===t.state||"blocked"===i.state&&"proceeding"===t.state||"blocked"===i.state&&"unblocked"===t.state||"proceeding"===i.state&&"unblocked"===t.state,"Invalid blocker state transition: "+i.state+" -> "+t.state);let r=new Map(w.blockers);r.set(e,t),Y({blockers:r})}function ae(e){let{currentLocation:t,nextLocation:i,historyAction:r}=e;if(0===V.size)return;V.size>1&&xf(!1,"A router only supports one blocker at a time");let n=Array.from(V.entries()),[o,a]=n[n.length-1],l=w.blockers.get(o);return l&&"proceeding"===l.state?void 0:a({currentLocation:t,nextLocation:i,historyAction:r})?o:void 0}function le(e){let t=[];return W.forEach(((i,r)=>{e&&!e(r)||(i.cancel(),t.push(r),W.delete(r))})),t}function ue(e,t){if(_){let i=_(e,t.map((e=>function(e,t){let{route:i,pathname:r,params:n}=e;return{id:i.id,pathname:r,params:n,data:t[i.id],handle:i.handle}}(e,w.loaderData))));return i||e.key}return e.key}function ce(e,t){if(p){let i=ue(e,t),r=p[i];if("number"==typeof r)return r}return null}return g={get basename(){return c},get future(){return s},get state(){return w},get routes(){return u},get window(){return t},initialize:function(){if(d=e.history.listen((t=>{let{action:i,location:r,delta:n}=t;if(G)return void(G=!1);xf(0===V.size||null!=n,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=ae({currentLocation:w.location,nextLocation:r,historyAction:i});return o&&null!=n?(G=!0,e.history.go(-1*n),void oe(o,{state:"blocked",location:r,proceed(){oe(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(n)},reset(){let e=new Map(w.blockers);e.set(o,lm),Y({blockers:e})}})):U(i,r)})),i){!function(e,t){try{let i=e.sessionStorage.getItem(sm);if(i){let e=JSON.parse(i);for(let[i,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(i,new Set(r||[]))}}catch(i){}}(t,I);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,i]of t)r[e]=[...i];try{e.sessionStorage.setItem(sm,JSON.stringify(r))}catch(i){xf(!1,"Failed to save applied view transitions in sessionStorage ("+i+").")}}}(t,I);t.addEventListener("pagehide",e),P=()=>t.removeEventListener("pagehide",e)}return w.initialized||U(mf.Pop,w.location,{initialHydration:!0}),g},subscribe:function(e){return v.add(e),()=>v.delete(e)},enableScrollRestoration:function(e,t,i){if(p=e,k=t,_=i||null,!h&&w.navigation===om){h=!0;let e=ce(w.location,w.matches);null!=e&&Y({restoreScrollPosition:e})}return()=>{p=null,k=null,_=null}},navigate:async function t(i,r){if("number"==typeof i)return void e.history.go(i);let n=vm(w.location,w.matches,c,s.v7_prependBasename,i,s.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:a,error:l}=pm(s.v7_normalizeFormMethod,!1,n,r),u=w.location,d=zf(w.location,o,r&&r.state);d=ff({},d,e.history.encodeLocation(d));let v=r&&null!=r.replace?r.replace:void 0,p=mf.Push;!0===v?p=mf.Replace:!1===v||null!=a&&Tm(a.formMethod)&&a.formAction===w.location.pathname+w.location.search&&(p=mf.Replace);let _=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,k=!0===(r&&r.unstable_flushSync),h=ae({currentLocation:u,nextLocation:d,historyAction:p});if(!h)return await U(p,d,{submission:a,pendingError:l,preventScrollReset:_,replace:r&&r.replace,enableViewTransition:r&&r.unstable_viewTransition,flushSync:k});oe(h,{state:"blocked",location:d,proceed(){oe(h,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(i,r)},reset(){let e=new Map(w.blockers);e.set(h,lm),Y({blockers:e})}})},fetch:function(t,i,a,d){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");A.has(t)&&ee(t);let v=!0===(d&&d.unstable_flushSync),p=o||u,_=vm(w.location,w.matches,c,s.v7_prependBasename,a,s.v7_relativeSplatPath,i,null==d?void 0:d.relative),k=Ef(p,_,c);if(!k)return void Q(t,i,Cm(404,{pathname:_}),{flushSync:v});let{path:h,submission:f,error:m}=pm(s.v7_normalizeFormMethod,!0,_,d);if(m)return void Q(t,i,m,{flushSync:v});let g=Mm(k,h);S=!0===(d&&d.preventScrollReset),f&&Tm(f.formMethod)?async function(t,i,r,a,d,v,p){if($(),F.delete(t),!a.route.action&&!a.route.lazy){let e=Cm(405,{method:p.formMethod,pathname:r,routeId:i});return void Q(t,i,e,{flushSync:v})}let _=w.fetchers.get(t);q(t,function(e,t){let i={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return i}(p,_),{flushSync:v});let k=new AbortController,h=gm(e.history,r,k.signal,p);A.set(t,k);let f=H,m=await mm("action",h,a,d,l,n,c,s.v7_relativeSplatPath);if(h.signal.aborted)return void(A.get(t)===k&&A.delete(t));if(s.v7_fetcherPersist&&O.has(t)){if(Rm(m)||Em(m))return void q(t,Om(void 0))}else{if(Rm(m))return A.delete(t),N>f?void q(t,Om(void 0)):(L.add(t),q(t,Dm(p)),X(w,m,{fetcherSubmission:p}));if(Em(m))return void Q(t,i,m.error)}if(Bm(m))throw Cm(400,{type:"defer-action"});let g=w.navigation.location||w.location,b=gm(e.history,g,k.signal),y=o||u,S="idle"!==w.navigation.state?Ef(y,w.navigation.location,c):w.matches;yf(S,"Didn't find any matches after fetcher action");let C=++H;M.set(t,C);let I=Dm(p,m.data);w.fetchers.set(t,I);let[P,B]=_m(e.history,w,S,p,g,!1,E,R,T,O,F,L,y,c,{[a.route.id]:m.data},void 0);B.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,i=w.fetchers.get(t),r=Dm(void 0,i?i.data:void 0);w.fetchers.set(t,r),A.has(t)&&ee(t),e.controller&&A.set(t,e.controller)})),Y({fetchers:new Map(w.fetchers)});let D=()=>B.forEach((e=>ee(e.key)));k.signal.addEventListener("abort",D);let{results:V,loaderResults:G,fetcherResults:U}=await K(w.matches,S,P,B,b);if(k.signal.aborted)return;k.signal.removeEventListener("abort",D),M.delete(t),A.delete(t),B.forEach((e=>A.delete(e.key)));let Z=Im(V);if(Z){if(Z.idx>=P.length){let e=B[Z.idx-P.length].key;L.add(e)}return X(w,Z.result)}let{loaderData:J,errors:te}=xm(w,w.matches,P,G,void 0,B,U,W);if(w.fetchers.has(t)){let e=Om(m.data);w.fetchers.set(t,e)}re(C),"loading"===w.navigation.state&&C>N?(yf(z,"Expected pending action"),x&&x.abort(),j(w.navigation.location,{matches:S,loaderData:J,errors:te,fetchers:new Map(w.fetchers)})):(Y({errors:te,loaderData:wm(w.loaderData,J,S,te),fetchers:new Map(w.fetchers)}),E=!1)}(t,i,h,g,k,v,f):(F.set(t,{routeId:i,path:h}),async function(t,i,r,o,a,u,d){let v=w.fetchers.get(t);q(t,Dm(d,v?v.data:void 0),{flushSync:u});let p=new AbortController,_=gm(e.history,r,p.signal);A.set(t,p);let k=H,h=await mm("loader",_,o,a,l,n,c,s.v7_relativeSplatPath);if(Bm(h)&&(h=await Hm(h,_.signal,!0)||h),A.get(t)===p&&A.delete(t),!_.signal.aborted){if(!O.has(t))return Rm(h)?N>k?void q(t,Om(void 0)):(L.add(t),void(await X(w,h))):void(Em(h)?Q(t,i,h.error):(yf(!Bm(h),"Unhandled fetcher deferred data"),q(t,Om(h.data))));q(t,Om(void 0))}}(t,i,h,g,k,v,f))},revalidate:function(){$(),Y({revalidation:"loading"}),"submitting"!==w.navigation.state&&("idle"!==w.navigation.state?U(z||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation}):U(w.historyAction,w.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Z,deleteFetcher:function(e){if(s.v7_fetcherPersist){let t=(D.get(e)||0)-1;t<=0?(D.delete(e),O.add(e)):D.set(e,t)}else J(e);Y({fetchers:new Map(w.fetchers)})},dispose:function(){d&&d(),P&&P(),v.clear(),x&&x.abort(),w.fetchers.forEach(((e,t)=>J(t))),w.blockers.forEach(((e,t)=>ne(t)))},getBlocker:function(e,t){let i=w.blockers.get(e)||lm;return V.get(e)!==t&&V.set(e,t),i},deleteBlocker:ne,_internalFetchControllers:A,_internalActiveDeferreds:W,_internalSetRoutes:function(e){l={},o=Bf(e,n,void 0,l)}},g}function vm(e,t,i,r,n,o,a,l){let u,c;if(a){u=[];for(let e of t)if(u.push(e),e.route.id===a){c=e;break}}else u=t,c=t[t.length-1];let s=Xf(n||".",function(e,t){let i=Uf(e);return t?i.map(((t,i)=>i===e.length-1?t.pathname:t.pathnameBase)):i.map((e=>e.pathnameBase))}(u,o),Yf(e.pathname,i)||e.pathname,"path"===l);return null==n&&(s.search=e.search,s.hash=e.hash),null!=n&&""!==n&&"."!==n||!c||!c.route.index||Nm(s.search)||(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==i&&(s.pathname="/"===s.pathname?i:Kf([i,s.pathname])),Sf(s)}function pm(e,t,i,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:i};if(r.formMethod&&(n=r.formMethod,!im.has(n.toLowerCase())))return{path:i,error:Cm(405,{method:r.formMethod})};var n;let o,a,l=()=>({path:i,error:Cm(400,{type:"invalid-body"})}),u=r.formMethod||"get",c=e?u.toUpperCase():u.toLowerCase(),s=Pm(i);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!Tm(c))return l();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>{let[i,r]=t;return""+e+i+"="+r+"\n"}),""):String(r.body);return{path:i,submission:{formMethod:c,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!Tm(c))return l();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:i,submission:{formMethod:c,formAction:s,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(p){return l()}}}if(yf("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=bm(r.formData),a=r.formData;else if(r.body instanceof FormData)o=bm(r.body),a=r.body;else if(r.body instanceof URLSearchParams)o=r.body,a=ym(o);else if(null==r.body)o=new URLSearchParams,a=new FormData;else try{o=new URLSearchParams(r.body),a=ym(o)}catch(p){return l()}let d={formMethod:c,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(Tm(d.formMethod))return{path:i,submission:d};let v=Cf(i);return t&&v.search&&Nm(v.search)&&o.append("index",""),v.search="?"+o,{path:Sf(v),submission:d}}function _m(e,t,i,r,n,o,a,l,u,c,s,d,v,p,_,k){let h=k?Object.values(k)[0]:_?Object.values(_)[0]:void 0,f=e.createURL(t.location),m=e.createURL(n),g=k?Object.keys(k)[0]:void 0,b=function(e,t){let i=e;if(t){let r=e.findIndex((e=>e.route.id===t));r>=0&&(i=e.slice(0,r))}return i}(i,g),y=b.filter(((e,i)=>{let{route:n}=e;if(n.lazy)return!0;if(null==n.loader)return!1;if(o)return!!n.loader.hydrate||void 0===t.loaderData[n.id]&&(!t.errors||void 0===t.errors[n.id]);if(function(e,t,i){let r=!t||i.route.id!==t.route.id,n=void 0===e[i.route.id];return r||n}(t.loaderData,t.matches[i],e)||l.some((t=>t===e.route.id)))return!0;let u=t.matches[i],c=e;return hm(e,ff({currentUrl:f,currentParams:u.params,nextUrl:m,nextParams:c.params},r,{actionResult:h,defaultShouldRevalidate:a||f.pathname+f.search===m.pathname+m.search||f.search!==m.search||km(u,c)}))})),x=[];return s.forEach(((e,n)=>{if(o||!i.some((t=>t.route.id===e.routeId))||c.has(n))return;let l=Ef(v,e.path,p);if(!l)return void x.push({key:n,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let s=t.fetchers.get(n),_=Mm(l,e.path),k=!1;k=!d.has(n)&&(!!u.includes(n)||(s&&"idle"!==s.state&&void 0===s.data?a:hm(_,ff({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:i[i.length-1].params},r,{actionResult:h,defaultShouldRevalidate:a})))),k&&x.push({key:n,routeId:e.routeId,path:e.path,matches:l,match:_,controller:new AbortController})})),[y,x]}function km(e,t){let i=e.route.path;return e.pathname!==t.pathname||null!=i&&i.endsWith("*")&&e.params["*"]!==t.params["*"]}function hm(e,t){if(e.route.shouldRevalidate){let i=e.route.shouldRevalidate(t);if("boolean"==typeof i)return i}return t.defaultShouldRevalidate}async function fm(e,t,i){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let n=i[e.id];yf(n,"No route found in manifest");let o={};for(let a in r){let e=void 0!==n[a]&&"hasErrorBoundary"!==a;xf(!e,'Route "'+n.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+a+'" will be ignored.'),e||Pf.has(a)||(o[a]=r[a])}Object.assign(n,o),Object.assign(n,ff({},t(n),{lazy:void 0}))}async function mm(e,t,i,r,n,o,a,l,u){let c,s,d;void 0===u&&(u={});let v=e=>{let r,n=new Promise(((e,t)=>r=t));return d=()=>r(),t.signal.addEventListener("abort",d),Promise.race([e({request:t,params:i.params,context:u.requestContext}),n])};try{let r=i.route[e];if(i.route.lazy)if(r){let e,t=await Promise.all([v(r).catch((t=>{e=t})),fm(i.route,o,n)]);if(e)throw e;s=t[0]}else{if(await fm(i.route,o,n),r=i.route[e],!r){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Cm(405,{method:t.method,pathname:r,routeId:i.route.id})}return{type:If.data,data:void 0}}s=await v(r)}else{if(!r){let e=new URL(t.url);throw Cm(404,{pathname:e.pathname+e.search})}s=await v(r)}yf(void 0!==s,"You defined "+("action"===e?"an action":"a loader")+' for route "'+i.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(h){c=If.error,s=h}finally{d&&t.signal.removeEventListener("abort",d)}if(null!=(p=s)&&"number"==typeof p.status&&"string"==typeof p.statusText&&"object"==typeof p.headers&&void 0!==p.body){let e,n=s.status;if(rm.has(n)){let e=s.headers.get("Location");if(yf(e,"Redirects returned/thrown from loaders/actions must have a Location header"),um.test(e)){if(!u.isStaticRequest){let i=new URL(t.url),r=e.startsWith("//")?new URL(i.protocol+e):new URL(e),n=null!=Yf(r.pathname,a);r.origin===i.origin&&n&&(e=r.pathname+r.search+r.hash)}}else e=vm(new URL(t.url),r.slice(0,r.indexOf(i)+1),a,!0,e,l);if(u.isStaticRequest)throw s.headers.set("Location",e),s;return{type:If.redirect,status:n,location:e,revalidate:null!==s.headers.get("X-Remix-Revalidate"),reloadDocument:null!==s.headers.get("X-Remix-Reload-Document")}}if(u.isRouteRequest)throw{type:c===If.error?If.error:If.data,response:s};try{let t=s.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==s.body?null:await s.json():await s.text()}catch(h){return{type:If.error,error:h}}return c===If.error?{type:c,error:new Zf(n,s.statusText,e),headers:s.headers}:{type:If.data,data:e,statusCode:s.status,headers:s.headers}}var p,_,k;return c===If.error?{type:c,error:s}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(s)?{type:If.deferred,deferredData:s,statusCode:null==(_=s.init)?void 0:_.status,headers:(null==(k=s.init)?void 0:k.headers)&&new Headers(s.init.headers)}:{type:If.data,data:s}}function gm(e,t,i,r){let n=e.createURL(Pm(t)).toString(),o={signal:i};if(r&&Tm(r.formMethod)){let{formMethod:e,formEncType:t}=r;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(r.json)):"text/plain"===t?o.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?o.body=bm(r.formData):o.body=r.formData}return new Request(n,o)}function bm(e){let t=new URLSearchParams;for(let[i,r]of e.entries())t.append(i,"string"==typeof r?r:r.name);return t}function ym(e){let t=new FormData;for(let[i,r]of e.entries())t.append(i,r);return t}function xm(e,t,i,r,n,o,a,l){let{loaderData:u,errors:c}=function(e,t,i,r,n){let o,a={},l=null,u=!1,c={};return i.forEach(((i,s)=>{let d=t[s].route.id;if(yf(!Rm(i),"Cannot handle redirect results in processLoaderData"),Em(i)){let t=zm(e,d),n=i.error;r&&(n=Object.values(r)[0],r=void 0),l=l||{},null==l[t.route.id]&&(l[t.route.id]=n),a[d]=void 0,u||(u=!0,o=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(i.error)?i.error.status:500),i.headers&&(c[d]=i.headers)}else Bm(i)?(n.set(d,i.deferredData),a[d]=i.deferredData.data):a[d]=i.data,null==i.statusCode||200===i.statusCode||u||(o=i.statusCode),i.headers&&(c[d]=i.headers)})),r&&(l=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:l,statusCode:o||200,loaderHeaders:c}}(t,i,r,n,l);for(let s=0;s<o.length;s++){let{key:t,match:i,controller:r}=o[s];yf(void 0!==a&&void 0!==a[s],"Did not find corresponding fetcher result");let n=a[s];if(!r||!r.signal.aborted)if(Em(n)){let r=zm(e.matches,null==i?void 0:i.route.id);c&&c[r.route.id]||(c=ff({},c,{[r.route.id]:n.error})),e.fetchers.delete(t)}else if(Rm(n))yf(!1,"Unhandled fetcher revalidation redirect");else if(Bm(n))yf(!1,"Unhandled fetcher deferred data");else{let i=Om(n.data);e.fetchers.set(t,i)}}return{loaderData:u,errors:c}}function wm(e,t,i,r){let n=ff({},t);for(let o of i){let i=o.route.id;if(t.hasOwnProperty(i)?void 0!==t[i]&&(n[i]=t[i]):void 0!==e[i]&&o.route.loader&&(n[i]=e[i]),r&&r.hasOwnProperty(i))break}return n}function zm(e,t){let i=t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e];return i.reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function Sm(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Cm(e,t){let{pathname:i,routeId:r,method:n,type:o}=void 0===t?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(a="Bad Request",n&&i&&r?l="You made a "+n+' request to "'+i+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===o?l="defer() is not supported in actions":"invalid-body"===o&&(l="Unable to encode submission body")):403===e?(a="Forbidden",l='Route "'+r+'" does not match URL "'+i+'"'):404===e?(a="Not Found",l='No route matches URL "'+i+'"'):405===e&&(a="Method Not Allowed",n&&i&&r?l="You made a "+n.toUpperCase()+' request to "'+i+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':n&&(l='Invalid request method "'+n.toUpperCase()+'"')),new Zf(e||500,a,new Error(l),!0)}function Im(e){for(let t=e.length-1;t>=0;t--){let i=e[t];if(Rm(i))return{result:i,idx:t}}}function Pm(e){return Sf(ff({},"string"==typeof e?Cf(e):e,{hash:""}))}function Bm(e){return e.type===If.deferred}function Em(e){return e.type===If.error}function Rm(e){return(e&&e.type)===If.redirect}function Tm(e){return em.has(e.toLowerCase())}async function Am(e,t,i,r,n,o){for(let a=0;a<i.length;a++){let l=i[a],u=t[a];if(!u)continue;let c=e.find((e=>e.route.id===u.route.id)),s=null!=c&&!km(c,u)&&void 0!==(o&&o[u.route.id]);if(Bm(l)&&(n||s)){let e=r[a];yf(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Hm(l,e,n).then((e=>{e&&(i[a]=e||i[a])}))}}}async function Hm(e,t,i){if(void 0===i&&(i=!1),!(await e.deferredData.resolveData(t))){if(i)try{return{type:If.data,data:e.deferredData.unwrappedData}}catch(r){return{type:If.error,error:r}}return{type:If.data,data:e.deferredData.data}}}function Nm(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Mm(e,t){let i="string"==typeof t?Cf(t).search:t.search;if(e[e.length-1].route.index&&Nm(i||""))return e[e.length-1];let r=Uf(e);return r[r.length-1]}function Lm(e){let{formMethod:t,formAction:i,formEncType:r,text:n,formData:o,json:a}=e;if(t&&i&&r)return null!=n?{formMethod:t,formAction:i,formEncType:r,formData:void 0,json:void 0,text:n}:null!=o?{formMethod:t,formAction:i,formEncType:r,formData:o,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:i,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function Fm(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Dm(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Om(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}const Wm=O.createContext(null),Vm=O.createContext(null),Gm=O.createContext({popout:null}),Ym=O.createContext({enabled:!1,firstActionDelay:0,interval:0}),jm="showModal",Um="showPopout",Xm="blockForward",Km="inflate";function $m(e){return e?.match(/\/:[^\/]+/g)?.map((e=>e.replace("/","")))??[]}function qm(e,t){return $m(e).reduce(((i,r)=>{const n=r.replace(":","");if(!t[n])throw new Error(`Missing parameter ${n} while building route ${e}`);return i.replace(r,t[n])}),e)}function Qm(e,t=[]){return{state:e,match:e.matches.length?e.matches[e.matches.length-1]:void 0,panelsHistory:t}}function Zm(e){return e.state&&jm in e.state}function Jm(e){return e.state&&Um in e.state}function eg(){return Math.random().toString(36).substring(2,9)}function tg(e,t){if(!1===e||null==e)throw new Error(t)}function ig(e){const t={keepSearchParams:!0,state:{}};return Object.keys(e).some((e=>e in t))}class rg{constructor(e){this.actions=e,this.pointer=0,this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}get isMultiAction(){return this.actions.length>1}get donePromise(){return this.promise}get finished(){return this.pointer>=this.actions.length}doNext(){this.finished||(this.actions[this.pointer](),this.pointer+=1),this.finished&&this.resolve()}}class ng{constructor(e,t,i,r){this.viewHistory=t,this.transactionExecutor=i,this.blockers=new Map,this.blockerId=0,this.router=e,this.setPopout=r}async push(e,t={},i={}){const r=ig(t),n={...r?t:i,replace:Boolean(this.router.state.location.state?.[Xm])},o=r?{}:t;await this.navigate(e,n,o)}async replace(e,t={},i={}){const r=ig(t),n=r?t:i,o=r?{}:t;await this.navigate(e,{...n,replace:!0},o)}async back(e=1){0!==e&&await this.go(-Math.abs(e))}async backToFirst(){this.viewHistory.position>0?await this.go(-this.viewHistory.position):await this.transactionExecutor.doNext()}async go(e){0===e?await this.transactionExecutor.doNext():await this.router.navigate(e)}runSync(e){const t=new rg(e);return this.transactionExecutor.add(t),this.transactionExecutor.doNext(),t.donePromise}async showModal(e){await this.router.navigate(this.router.state.location,{state:{[jm]:e,[Xm]:!0},replace:Zm(this.router.state.location)})}async hideModal(e=!1){if(!e&&!this.viewHistory.isFirstPage||Zm(this.router.state.location))await this.router.navigate(-1);else{const e=this.router.state.matches.find((e=>"modal"in e.route));if(e){const t=e.route,i=function(e,t){const i=e.route;function r(t){return Object.keys(e.params).map((e=>Number(Boolean(t.path?.includes(`:${e}`))))).reduce(((e,t)=>e+t),0)}const n=t.routes.filter((t=>{const r=t,n=$m(r.path).map((e=>e.replace(":","")));return!r.modal&&r.tab===i.tab&&r.panel===i.panel&&r.view===i.view&&r.root===i.root&&n.every((t=>Object.keys(e.params).includes(t)))})).sort(((e,t)=>r(e)-r(t))).pop();return n&&qm(n.path,e.params)}(e,this.router);if(!i){const e=t.root?`root: ${t.root} `:"";throw new Error(`There is no route registered for panel with ${e}, view: ${t.view}, panel: ${t.panel}.\nMake sure this route exists or use hideModal with pushPanel set to false.`)}await this.navigate(i,{keepSearchParams:!0})}else await this.transactionExecutor.doNext()}}async showPopout(e){this.setPopout(e);const t={[Um]:eg(),[Xm]:!0};Zm(this.router.state.location)&&(t[jm]=this.router.state.location.state[jm]);const i=Zm(this.router.state.location)||Jm(this.router.state.location);await this.router.navigate(this.router.state.location,{state:t,replace:i})}async hidePopout(){Jm(this.router.state.location)?(this.setPopout(null),Zm(this.router.state.location)?await this.router.navigate(this.router.state.location,{state:{[Xm]:!0,[jm]:this.router.state.location.state[jm]},replace:!0}):await this.router.navigate(-1)):await this.transactionExecutor.doNext()}block(e){const t=(++this.blockerId).toString();return this.blockers.set(t,e),this.router.getBlocker("vk-mini-app-navigation-block",(e=>Array.from(this.blockers.values()).some((t=>t(e))))),()=>{this.blockers.delete(t)}}async navigate(e,t,i={}){let r="string"==typeof e?e:e.hasParams?qm(e.path,i):e.path;t?.keepSearchParams&&(r+=this.router.state.location.search),await this.router.navigate(r,t)}}const og={background:"#3f5d81 url(https://vk.com/images/error404.png) no-repeat 50% 50%",width:"100%",height:"100%",overflow:"hidden",margin:"0",cursor:"pointer",backgroundSize:"contain"};function ag({routeNavigator:e}){return $.jsx("div",{onClick:()=>{e.replace("/")},className:"default-not-found",style:og})}class lg{constructor(){this.history=[],this.positionInternal=-1}updateNavigation(e){const t=this.getViewRecordFromState(e);if(t)switch(e.historyAction){case mf.Push:this.push(t);break;case mf.Pop:this.hasKey(t.locationKey)?this.pop(t):this.push(t);break;case mf.Replace:this.replace(t)}}get isFirstPage(){return this.positionInternal<1}get panelsHistory(){if(this.positionInternal<0)return[];const e=this.history[this.positionInternal].view,t=this.history.slice(0,this.positionInternal+1).reverse(),i=t.findIndex((t=>t.view!==e));return t.slice(0,i>-1?i:t.length).filter((e=>!e.modal&&!e.popout)).reverse().map((({panel:e})=>e))}get position(){return this.positionInternal}isPopForward(e,t){const i=this.history.findIndex((({locationKey:e})=>e===t));return e===mf.Pop&&i>this.position}isPopBackward(e,t){const i=this.history.findIndex((({locationKey:e})=>e===t));return e===mf.Pop&&i<=this.position}resetHistory(){this.positionInternal=-1,this.history=[]}push(e){this.history=this.history.slice(0,this.positionInternal+1),this.history.push(e),this.positionInternal=this.history.length-1}replace(e){this.history[this.positionInternal]=e}pop(e){this.positionInternal=this.history.findIndex((({locationKey:t})=>t===e.locationKey))}hasKey(e){return Boolean(this.history.find((({locationKey:t})=>t===e)))}getViewRecordFromState(e){const t=Qm(e);if(!t.match)return;const{route:i}=t.match;return{view:i.view,panel:i.panel,modal:"modal"in i?i.modal:void 0,popout:e.location.state?.[Um],locationKey:e.location.key}}}const ug=[];class cg{constructor(e){this.forceUpdate=e,this.transactions=[]}get initialDelay(){return this.transactions.length>1||this.transactions.length>0&&this.transactions[0].isMultiAction?100:0}add(e){this.transactions.push(e),this.forceUpdate()}async doNext(){setTimeout((()=>{this.transactions.length&&(this.transactions[0].doNext(),this.transactions[0].finished&&this.transactions.shift())}))}}function sg(e=""){const t="string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams;return new URLSearchParams(t?e:function(e){return Object.keys(e).reduce(((t,i)=>{const r=e[i];return t.concat(Array.isArray(r)?r.map((e=>[i,e])):[[i,r]])}),[])}(e))}function dg(e,t){return e.map((e=>{const i={...e,parents:t};return e.children?dg(e.children,[...t,i]):i})).flat()}function vg(e,t,i,r){const n=dg(e,[]),o=i.state.location,a=i.match?.params??{},l=i.match?.route.path,u=n.find((e=>e.path===l));if(!u)return;const c=u.parents.map((({path:e})=>qm(e,a)));setTimeout((()=>{if(c.length){const e=sg(o.search);e.delete(Km);const i=e.toString().length>0?`?${e.toString()}`:"",n=`${o.pathname}${i}${o.hash}`,a=c.shift(),l=[()=>t.replace(a),...c.map((e=>()=>t.push(e))),()=>t.push(n)],u=new rg(l);r.add(u),r.doNext()}}))}const pg=()=>{let e=window.location.href,t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function _g({router:e,children:t,notFound:i,hierarchy:r,notFoundRedirectPath:n,interval:o=400,useBridge:a=!0,throttled:l=!0}){const u=function(){const[,e]=O.useState(0);return()=>{e(Date.now())}}(),[c,s]=O.useState(null),[d]=O.useState(new lg),[v,p]=O.useState([]),[_,k]=O.useState(new cg(u)),h=e.state.location.state?.[Um],f=O.useMemo((()=>{const t=new ng(e,d,_,s);return{router:e,routeNavigator:t,viewHistory:d}}),[e,d,_,s]),m=O.useMemo((()=>({enabled:l||Boolean(_.initialDelay),firstActionDelay:_.initialDelay,interval:o})),[_.initialDelay,o,l]),g=O.useMemo((()=>Qm(e.state,v)),[e.state,v]),b=O.useMemo((()=>({popout:h?c:null})),[h,c]);!function(e,t,i){O.useEffect((()=>{const e=i.block((({historyAction:e,nextLocation:i})=>{const r=t.isPopForward(e,i.key)&&"default"!==i.key;return Boolean(r&&i.state?.[Xm])}));return()=>e()}),[i,t]),O.useEffect((()=>{e.subscribe((i=>{const r=i.location.key;if(t.isPopBackward(i.historyAction,r)&&i.location.state?.[Xm]&&!ug.includes(r)){ug.push(r);const t={...window.history.state};t.usr?.[jm]&&(t.usr={...t.usr},delete t.usr?.[jm],delete t.usr?.[Xm]),t.usr?.[Um]&&(t.usr={...t.usr},delete t.usr?.[Um],delete t.usr?.[Xm]),window.history.replaceState(t,""),e.navigate(-1).then((()=>ug.splice(ug.findIndex((e=>e===r)),1)))}}))}),[e,t])}(e,d,f.routeNavigator),O.useEffect((()=>{history.scrollRestoration="manual",d.resetHistory(),d.updateNavigation({...e.state,historyAction:mf.Push}),p(d.panelsHistory),e.subscribe((e=>{d.updateNavigation(e),p(d.panelsHistory),_.doNext()})),a&&(Pd.subscribe((t=>{"VKWebAppChangeFragment"===t.detail.type&&e.navigate(t.detail.data.location,{replace:!0})})),e.subscribe((t=>{const i=e.createHref(t.location),r=pg(),n=i.replace(r,"").replace(/^#/,"");Pd.send("VKWebAppSetLocation",{location:n,replace_state:!0})})));const t=new cg(u);k(t);const i=sg(e.state.location.search),n=Boolean(i.get(Km));r&&n&&vg(r,f.routeNavigator,g,t)}),[e]);const y=Boolean(!g.match||g.state.errors&&g.state.errors[g.match.route.id]&&404===g.state.errors[g.match.route.id].status);return n&&(y||"*"===g.match?.route.path)&&(e.state.location.pathname===n?console.warn("Incorrect notFoundRedirectPath"):f.routeNavigator.replace(n)),$.jsx(Wm.Provider,{value:f,children:$.jsx(Ym.Provider,{value:m,children:$.jsxs(Gm.Provider,{value:b,children:[y&&(i||$.jsx(ag,{routeNavigator:f.routeNavigator})),!y&&$.jsx(Vm.Provider,{value:g,children:t})]})})})}const kg=()=>{};function hg(e){const{enabled:t,interval:i,firstActionDelay:r}=O.useContext(Ym),n=O.useRef(null),o=O.useContext(e),a=O.useRef(0),l=O.useRef(0),u=O.useRef(null),[c,s]=O.useState(o);if(!t){const e=n.current;return n.current=o,[o,e,kg]}O.useEffect((()=>{const e=Date.now()-a.current,t=i-e,d=t<=0?r:0,v=Math.max(d,t);return n.current=c,v<=0?(a.current=Date.now(),s(o)):(clearTimeout(l.current),u.current=()=>{u.current=null,a.current=Date.now(),s(o)},l.current=setTimeout(u.current,v)),()=>clearTimeout(l.current)}),[o]);const d=O.useCallback((()=>(a.current=0,u.current&&(clearTimeout(l.current),l.current=setTimeout(u.current,1)),()=>clearTimeout(l.current))),[]),v=n.current;return[c,v,d]}function fg(){const[e]=hg(Wm);return tg(e,"You can not use useNavigator hook outside of RouterContext. Make sure calling it inside RouterProvider."),e.routeNavigator}function mg(){const[e]=hg(Vm);return tg(e,"You can not use useLocation hook outside of RouteContext. Make sure calling it inside RouterProvider."),e.state.location}function gg(e,{relative:t}={}){const{router:{state:{matches:i}}}=O.useContext(Wm),{pathname:r}=mg(),n=JSON.stringify(function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(i).map((e=>e.pathnameBase)));return O.useMemo((()=>Xf(e,JSON.parse(n),r,"path"===t)),[e,n,r,t])}function bg(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return Boolean(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}const yg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xg="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;O.forwardRef((function({to:e,relative:t,replace:i,target:r,reloadDocument:n,onClick:o,...a},l){let u,c=!1;if("string"==typeof e&&yg.test(e)&&(u=e,xg)){const t=new URL(window.location.href),i=e.startsWith("//")?new URL(t.protocol+e):new URL(e),r=i.pathname;i.origin===t.origin?e=r+i.search+i.hash:c=!0}const s=function(e,{relative:t}={}){const i=O.useContext(Wm);tg(i,"You can not use useHref hook outside of RouteContext. Make sure calling it inside RouterProvider.");const{hash:r,pathname:n,search:o}=gg(e,{relative:t}),a=pg(),l=i.router.createHref({pathname:n,search:o,hash:r}).replace(a,"");return l.startsWith("/")?l:"/"+l}(e,{relative:t}),d=function(e,{target:t,replace:i,preventScrollReset:r,relative:n}={}){const o=fg(),a=mg(),l=gg(e,{relative:n});return O.useCallback((e=>{if(bg(e,t)){e.preventDefault();const t=Sf(l);(void 0!==i?i:Sf(a)===t)?o.replace(t):o.push(t)}}),[a,o,l,i,t,e,r,n])}(e,{replace:i,target:r,relative:t});return $.jsx(af,{...a,href:u||s,onClick:c||n?o:function(e){o&&o(e),e.defaultPrevented||d(e)},getRootRef:l,target:r})}));class wg{constructor(e){this._value=e}static init(e){wg._instance||(wg._instance=new wg(e))}static get value(){return wg._instance?._value}}function zg(){const[e]=hg(Vm),t=function(){const[e]=hg(Gm);return e.popout}(),{match:i,state:r,panelsHistory:n}=e,o=i?.route,a=r.location.state?.[jm]??(o&&"modal"in o?o.modal:void 0);return{root:o&&"root"in o?o.root:void 0,view:o?.view,panel:o?.panel,tab:o?.tab,modal:a,hasOverlay:Boolean(a||t),panelsHistory:n}}function Sg(e,t){if(t&&t.length&&"object"==typeof e&&e.hasOwnProperty(t)){const i=`${t}_0`;return e.hasOwnProperty(i)?Sg(e,i):i}return t}class Cg{constructor(e,t){this.id=e,this.panels=t,t.forEach((e=>{this[Sg(this,e.id)]=e}))}get children(){return this.panels}getRoutes(){return this.panels.map((e=>e.getRoutes())).flat().map((e=>({...e,view:this.id})))}}class Ig{constructor(e,t){if(this.id=e,this.views=t,!t.length)throw new Error(`Trying to create root ${e} without views. Root must have at least one view.`);t.forEach((e=>{this[Sg(this,e.id)]=e}))}get children(){return this.views}getRoutes(){return this.views.map((e=>e.getRoutes())).flat().map((e=>({...e,root:this.id})))}}class Pg{constructor(e,t,i){this.id=e,this.path=t,this.modals=i,i.forEach((e=>{this[Sg(this,e.id)]=e}))}getRoutes(){return this.modals.map((e=>e.getRoutes())).flat().map((e=>({...e,panel:this.id}))).concat({path:this.path,panel:this.id})}}class Bg extends Pg{constructor(e,t,i=[]){super(e,t,i),this.path=t,this.hasParams=!1}}class Eg extends Pg{constructor(e,t,i,r=[]){super(e,t,r),this.id=e,this.path=t,this.paramKeys=i,this.hasParams=!0}}function Rg(e,t,i,r){return r?new Eg(e,t,r,i??[]):new Bg(e,t,i??[])}class Tg{constructor(){this.items=[]}getRoutes(){return this.items.map((e=>e.getRoutes())).flat()}static create(e){const t=new Tg;return t.items=e,e.forEach((e=>{t[Sg(t,e.id)]=e})),t}}const Ag=function(e,t){return new Cg(e,t)},Hg={HOME:"home",PERSIK:"persik"},Ng=Tg.create([function(e,t){return new Ig(e,t)}("default_root",[Ag("default_view",[Rg(Hg.HOME,"/",[]),Rg(Hg.PERSIK,`/${Hg.PERSIK}`,[])])])]),Mg=function(e){window.addEventListener("popstate",(e=>{e.state||window.history.replaceState({key:eg()},"")}));const t=bf();return wg.init(t.location),dm({history:t,routes:e.map((e=>({...e,index:!0})))}).initialize()}(Ng.getRoutes()),Lg=""+new URL("persik-DUm5YSvO.png",t.meta.url).href,Fg=({id:e})=>{const t=fg();return $.jsxs(Lk,{id:e,children:[$.jsx(rh,{before:$.jsx(kf,{onClick:()=>t.back()}),children:"Persik"}),$.jsx(vf,{children:$.jsx("img",{width:230,src:Lg,alt:"Persik The Cat"})})]})},Dg=({id:e,fetchedUser:t})=>{const{photo_200:i,city:r,first_name:n,last_name:o}={...t},a=fg();return $.jsxs(Lk,{id:e,children:[$.jsx(rh,{children:"Главная"}),t&&$.jsx(Eh,{header:$.jsx(Ch,{mode:"secondary",children:"User Data Fetched with VK Bridge"}),children:$.jsx(Qh,{before:i&&$.jsx(of,{src:i}),subtitle:r?.title,children:`${n} ${o}`})}),$.jsx(Eh,{header:$.jsx(Ch,{mode:"secondary",children:"Navigation Example"}),children:$.jsx(_f,{children:$.jsx(pk,{stretched:!0,size:"l",mode:"secondary",onClick:()=>a.push("persik"),children:"Покажите Персика, пожалуйста!"})})})]})},Og=()=>{const{panel:e=Hg.HOME}=zg(),[t,i]=O.useState(),[r,n]=O.useState($.jsx(wh,{size:"large"}));return O.useEffect((()=>{!async function(){const e=await Pd.send("VKWebAppGetUserInfo");i(e),n(null)}()}),[]),$.jsx(sh,{popout:r,children:$.jsx(hh,{children:$.jsxs(Nk,{activePanel:e,children:[$.jsx(Dg,{id:"home",fetchedUser:t}),$.jsx(Fg,{id:"persik"})]})})})},Wg=()=>{const e=(t=O.useState(null),i=t[0],r=t[1],Bd((function(){if(Pd.isEmbedded()){var e=function(e){var t=function(e){var t=e.scheme,i=e.appearance;return i||("space_gray"===t||"vkcom_dark"===t?"dark":"light")}(e);t&&r(t)},t=function(t){var i=t.detail,r=i.type,n=i.data;"VKWebAppUpdateConfig"===r&&"appearance"in n&&"scheme"in n&&e(n)};return Pd.subscribe(t),Pd.send("VKWebAppGetConfig").then(e).catch(console.error),function(){return Pd.unsubscribe(t)}}}),[]),i||void 0);var t,i,r;const n=Ad()||void 0,o=(({type:e,viewportWidth:t,viewportHeight:i})=>{switch(e){case"adaptive":return{viewWidth:Op(t),viewHeight:Wp(i)};case"force_mobile":case"force_mobile_compact":return{viewWidth:Ep,sizeX:Lp,sizeY:"force_mobile_compact"===e?Lp:Fp};default:return{}}})(Rd()),{vk_platform:a}=function(e){var t={};try{new URLSearchParams(e).forEach((function(e,i){switch(i){case"vk_ts":case"vk_is_recommended":case"vk_profile_id":case"vk_has_profile_button":case"vk_testing_group_id":case"vk_user_id":case"vk_app_id":case"vk_group_id":t[i]=Number(e);break;case"sign":case"vk_chat_id":case"vk_ref":case"vk_access_token_settings":t[i]=e;break;case"odr_enabled":t.odr_enabled="1"===e?1:void 0;break;case"vk_is_app_user":case"vk_are_notifications_enabled":case"vk_is_favorite":t[i]=function(e){switch(e){case"0":return 0;case"1":return 1;default:return}}(e);break;case"vk_language":t.vk_language=function(e){return Object.values(_d).some((function(t){return t===e}))}(e)?e:void 0;break;case"vk_viewer_group_role":t.vk_viewer_group_role=function(e){return Object.values(kd).some((function(t){return t===e}))}(e)?e:void 0;break;case"vk_platform":t.vk_platform=function(e){return Object.values(hd).some((function(t){return t===e}))}(e)?e:void 0}}))}catch(i){console.warn(i)}return t}(window.location.search);return $.jsx(hf,{appearance:e,platform:"desktop_web"===a?"vkcom":void 0,isWebView:Pd.isWebView(),hasCustomPanelHeaderAfter:!0,children:$.jsx(pf,{...o,children:$.jsx(lp,{mode:"full",safeAreaInsets:n,children:$.jsx(_g,{router:Mg,children:$.jsx(Og,{})})})})})};Pd.send("VKWebAppInit"),rd(document.getElementById("root")).render($.jsx(Wg,{}))}}}));
